Skip to content

Commit

Permalink
[field] fix rounded corner issue on last string segment
Browse files Browse the repository at this point in the history
  • Loading branch information
vicmeow authored and rexxars committed Oct 6, 2020
1 parent e5a82c0 commit 667df21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
line-height: 1.5; /* To make sure the box shadow doesn't get cut off on multiline strings */
box-shadow: 0 2px 0 var(--component-bg);

@nest &:first-child {
@nest &:first-of-type {
border-top-left-radius: 1px;
border-bottom-left-radius: 1px;
}

@nest &:last-child {
@nest &:last-of-type {
border-top-right-radius: 1px;
border-bottom-right-radius: 1px;
}
Expand Down

0 comments on commit 667df21

Please sign in to comment.