Skip to content

Commit

Permalink
fix: 修复宽度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyatong committed Dec 11, 2024
1 parent ea94cc3 commit f923be9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/packages/popover/popover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@
border-bottom: none;
}

// &:hover:not(:only-child) {
// cursor: pointer;
// color: $popover-hover-text-color;
// background-color: $popover-hover-background-color;
// }

&:hover:nth-of-type(2) {
border-radius: 8px 8px 0px 0px;
}
Expand All @@ -132,9 +126,10 @@
}

&-name {
width: 100%;
width: calc(100% - 34px);
word-break: keep-all;
margin: 0 6px 0 4px;
flex: 1;
}

&-action-icon {
Expand Down Expand Up @@ -174,7 +169,6 @@

&-top-start {
left: 0;

.nut-popover-arrow-top-start {
left: 16px;
transform: translateX(0%);
Expand All @@ -190,7 +184,6 @@

&-bottom-end {
right: 0;

.nut-popover-arrow-bottom-end {
right: 16px;
transform: translateX(0%);
Expand All @@ -199,7 +192,6 @@

&-bottom-start {
left: 0;

.nut-popover-arrow-bottom-start {
left: 16px;
transform: translateX(0%);
Expand Down

0 comments on commit f923be9

Please sign in to comment.