1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-19 02:44:01 +00:00

add compact styles to header and footer

This commit is contained in:
William Martin
2024-11-06 14:44:36 -05:00
parent 9f05381681
commit 850eac3449
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<footer
class="tw-p-4 tw-border-0 tw-border-solid tw-border-t tw-border-secondary-300 tw-bg-background"
class="tw-p-4 bit-compact:tw-p-2 tw-border-0 tw-border-solid tw-border-t tw-border-secondary-300 tw-bg-background"
>
<div class="tw-max-w-screen-sm tw-mx-auto tw-flex tw-justify-between tw-w-full">
<div class="tw-flex tw-justify-start tw-gap-2">

View File

@@ -1,5 +1,5 @@
<header
class="tw-px-4 tw-py-3 tw-transition-colors tw-duration-200 tw-border-0 tw-border-b tw-border-solid"
class="tw-px-4 tw-py-3 bit-compact:tw-p-2 tw-transition-colors tw-duration-200 tw-border-0 tw-border-b tw-border-solid"
[ngClass]="{
'tw-bg-background-alt tw-border-transparent':
this.background === 'alt' && !pageContentScrolled(),