Skip to content

Commit

Permalink
fix(Popup): fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Jul 12, 2023
1 parent 07581c6 commit a6eee47
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
7 changes: 1 addition & 6 deletions style/mobile/components/popup/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@
}
}

.@{prefix}-overflow-hidden {
.@{popup}-overflow-hidden {
overflow: hidden;
cursor: not-allowed;

* {
pointer-events: none;
}
}
4 changes: 2 additions & 2 deletions style/mobile/components/toast/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@import "./_var.less";

.@{prefix}-toast {
.@{toast} {
position: fixed;
left: 50%;
transform: translate(-50%, -50%);
Expand Down Expand Up @@ -87,7 +87,7 @@
}
}

.@{prefix}-overflow-hidden {
.@{toast}-overflow-hidden {
overflow: hidden;
cursor: not-allowed;

Expand Down
1 change: 1 addition & 0 deletions style/mobile/components/toast/v2/_var.less
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@toast: ~"@{prefix}-toast";
@toast-color: var(--td-toast-color, @font-white-1);
@toast-bg-color: var(--td-toast-bg-color, @font-gray-1);
@toast-max-width: var(--td-toast-max-width, 187px);
Expand Down

0 comments on commit a6eee47

Please sign in to comment.