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 5ecf8a3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
9 changes: 2 additions & 7 deletions style/mobile/components/popup/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,8 @@
opacity: 0;
}
}
}

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

* {
pointer-events: none;
&-overflow-hidden {
overflow: hidden;
}
}
14 changes: 7 additions & 7 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 @@ -85,13 +85,13 @@
&.@{prefix}-fade-leave-to {
opacity: 0;
}
}

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

* {
pointer-events: none;
* {
pointer-events: none;
}
}
}
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 5ecf8a3

Please sign in to comment.