Skip to content

Commit

Permalink
refactor(styles): Make padding not a magic value
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jun 25, 2024
1 parent 221d16a commit e17729f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions core/css/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
}

.header-right {
// Add some spacing so the last entry looks ok
margin-inline-end: calc(3 * var(--default-grid-baseline));

a:not(.button):focus-visible::after, div[role=button]:focus-visible::after {
bottom: 4px;
}
Expand Down
2 changes: 0 additions & 2 deletions core/src/views/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ export default {

<style lang="scss" scoped>
.user-menu {
margin-right: 12px;

&:deep {
.header-menu {
&__trigger {
Expand Down

0 comments on commit e17729f

Please sign in to comment.