Skip to content

Commit

Permalink
fix: remove default outline from the popover overlay part (#7668)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan authored Aug 19, 2024
1 parent f0d2e1b commit adf4da0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/popover/theme/lumo/vaadin-popover-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ const popoverOverlay = css`
--_vaadin-popover-default-offset: var(--lumo-space-xs);
}
[part='overlay'] {
outline: none;
}
[part='content'] {
padding: var(--lumo-space-xs) var(--lumo-space-s);
}
Expand Down
4 changes: 4 additions & 0 deletions packages/popover/theme/material/vaadin-popover-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ const popoverOverlay = css`
--_vaadin-popover-default-offset: 0.25rem;
}
[part='overlay'] {
outline: none;
}
[part='content'] {
padding: 0.25rem 0.5rem;
}
Expand Down

0 comments on commit adf4da0

Please sign in to comment.