Skip to content

Commit

Permalink
Tighter CSS to prevent host page CSS taking priority (e.g Bootstrap)
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Jun 7, 2024
1 parent 9284820 commit 72e0317
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/less/partials/_control-bar.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ div.ap-player {
user-select: none;
border-top: 2px solid color-mix(in oklab, black 33%, var(--term-color-background));
z-index: 30;

* {
box-sizing: inherit;
}
}
}

Expand Down
3 changes: 3 additions & 0 deletions src/less/partials/_overlays.less
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@
background-color: var(--term-color-foreground);
padding: 0.2em 0.5em;
border-radius: 0.2em;
font-family: inherit;
font-size: 0.85em;
border: none;
margin: 0;
}
}
}
Expand Down

0 comments on commit 72e0317

Please sign in to comment.