Skip to content

Commit

Permalink
style: 使用伪元素替代单元格内阴影 fix siyuan-note#10867
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC committed Dec 11, 2024
1 parent 32d75c5 commit fa9ecd4
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions app/src/assets/scss/business/_av.scss
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,18 @@

&--select {
background-color: var(--b3-theme-primary-lightest);
outline: 2px solid var(--b3-theme-primary-lighter);
outline-offset: -2px;
border-radius: var(--b3-border-radius);

&::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
right: 2px;
bottom: 2px;
border-radius: 3px;
box-shadow: 0 0 0 2px var(--b3-theme-primary-lighter);
pointer-events: none;
}
}

&--active {
Expand Down

0 comments on commit fa9ecd4

Please sign in to comment.