Skip to content

Commit

Permalink
refactor: added border
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Oct 17, 2023
1 parent 8c49ded commit 0d97bfb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/components/tooltip/tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ $tooltip-arrow-shadow-size: variables.$db-spacing-fixed-2xs;
// Arrow
&:not([data-variant="basic"]) {
&::after {

@extend %component-border;
content: "";
box-shadow: variables.$db-elevation-4;
position: absolute;
Expand Down
2 changes: 2 additions & 0 deletions packages/components/src/styles/_popover-component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@
@extend %default-card;
@extend %popover-placement;

@extend %component-border;

position: absolute;
background-color: colors.$db-base-bg;
visibility: hidden;
Expand Down

0 comments on commit 0d97bfb

Please sign in to comment.