Blame view

src/styles/components/dropdown.less 530 Bytes
ab8aaf95   梁灏   add Dropdown comp...
1
2
3
4
5
  @dropdown-prefix-cls: ~"@{css-prefix}dropdown";
  @dropdown-item-prefix-cls: ~"@{dropdown-prefix-cls}-item";
  
  .@{dropdown-prefix-cls} {
      display: inline-block;
d5d4d8e3   梁灏   fixed #188
6
      //position: relative;
ab8aaf95   梁灏   add Dropdown comp...
7
  
745bcbc2   梁灏   update Dropdown
8
9
      .@{select-dropdown-prefix-cls} {
          overflow: visible;
fece7a9a   梁灏   fixed #138
10
          max-height: none;
745bcbc2   梁灏   update Dropdown
11
12
13
14
15
      }
      .@{dropdown-prefix-cls} {
          width: 100%;
      }
  
ab8aaf95   梁灏   add Dropdown comp...
16
      &-rel{
2d74744d   梁灏   update Dropdown
17
          //display: inline-block;
d5d4d8e3   梁灏   fixed #188
18
          position: relative;
ab8aaf95   梁灏   add Dropdown comp...
19
20
21
22
23
24
25
26
      }
  
      &-menu{
          min-width: 100px;
      }
  }
  
  .select-item(@dropdown-prefix-cls, @dropdown-item-prefix-cls);