首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何将<kendo选项卡>带到屏幕底部

如何将<kendo选项卡>带到屏幕底部
EN

Stack Overflow用户
提问于 2017-04-04 11:22:43
回答 1查看 295关注 0票数 0

我使用的是Kendo和angularjs2

我正在使用kendo选项卡

下面是kendo选项卡的链接。

http://www.telerik.com/kendo-angular-ui/components/layout/tabstrip/

但是,即使我给出了底限,the也不会掉到屏幕的底部。下面是密码。

代码语言:javascript
复制
@Component({
  selector: 'my-app',
  template: `
      <kendo-tabstrip>
        <kendo-tabstrip-tab [title]="'Paris'" [selected]="true">
          <template kendoTabContent>
            <p>
            Paris is the capital and most populous city of France. It has an area of 105 square kilometres (41 square miles) and a population in 2013 of 2,229,621 within its administrative limits. The city is both a commune and department, and forms the centre and headquarters of the Île-de-France, or Paris Region, which has an area of 12,012 square kilometres (4,638 square miles) and a population in 2014 of 12,005,077, comprising 18.2 percent of the population of France.
            </p>
          </template>
        </kendo-tabstrip-tab>
        <kendo-tabstrip-tab [title]="'New York City'">
          <template kendoTabContent>
            <p>
              The City of New York, often called New York City or simply New York, is the most populous city in the United States. With an estimated 2015 population of 8,550,405 distributed over a land area of just 305 square miles (790 km2), New York City is also the most densely populated major city in the United States. Located at the southern tip of the state of New York, the city is the center of the New York metropolitan area, one of the most populous urban agglomerations in the world.
            </p>
            <p>
              A global power city, New York City exerts a significant impact upon commerce, finance, media, art, fashion, research, technology, education, and entertainment, its fast pace defining the term New York minute. Home to the headquarters of the United Nations, New York is an important center for international diplomacy and has been described as the cultural and financial capital of the world.
            </p>
          </template>
        </kendo-tabstrip-tab>
        <kendo-tabstrip-tab [title]="'Tallinn'">
          <template kendoTabContent>
            <p>
          hi
            </p>
            <p>
            hello
            </p>
          </template>
        </kendo-tabstrip-tab>
        <kendo-tabstrip-tab [title]="'Sydney'" [disabled]="true"></kendo-tabstrip-tab>
      </kendo-tabstrip>
    `,
    styles: [`
        kendo-tabstrip p {
            margin: 0;
            padding: 8px;
        }
    `]
})
class AppComponent {}

有人能帮我解决这个问题吗。

EN

回答 1

Stack Overflow用户

发布于 2017-08-26 06:57:06

由于角2的kendo选项卡组件没有为设计css呈现,所以您可以像这样更改样式:

代码语言:javascript
复制
styles: [`
    div[role="tabpanel"] p {
        margin: 0;
        padding: 8px;
    }
`]
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43205815

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档