Skip to content

Commit

Permalink
chore: rename z-index key of dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed Mar 22, 2020
1 parent bc8ad39 commit 745fa23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions components/dropdown/style/component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
text-align: left;
will-change: transform, opacity;
background: #fff;
z-index: var(--zindex-dropdown);

&[x-placement^=right] {
margin-left: 4px;
Expand Down
4 changes: 1 addition & 3 deletions components/style/themes/variable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
// 堆叠顺序
--zindex-tooltip: 1500;
--zindex-popup: 1500;
--zindex-dropdown: 1101;

// 透明度
--opacity-disabled: .5;
Expand Down Expand Up @@ -327,7 +328,4 @@
--input-addon-background-color: #f2f2f2;
--input-addon-border-color: #d9d9d9;
--input-placeholder-color: #bcbcbc;

// dropdown
--dropdown-popup-index: 1101;
}

0 comments on commit 745fa23

Please sign in to comment.