1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[CL-616][CL-670] first pass at responsive updates to vault (#14588)

This commit is contained in:
Mark Youssef
2025-10-08 10:04:39 -07:00
committed by GitHub
parent 0df7215d6e
commit a4a53e27d4
14 changed files with 33 additions and 13 deletions

View File

@@ -23,7 +23,7 @@
[id]="mainContentId"
tabindex="-1"
bitScrollLayoutHost
class="tw-overflow-auto tw-max-h-screen tw-min-w-0 tw-flex-1 tw-bg-background tw-p-8 tw-pt-6"
class="tw-overflow-auto tw-max-h-screen tw-min-w-0 tw-flex-1 tw-bg-background tw-p-8 tw-pt-6 tw-@container"
>
<!-- ^ If updating this padding, also update the padding correction in bit-banner! ^ -->
<ng-content></ng-content>

View File

@@ -157,6 +157,9 @@ module.exports = {
xs: [".8125rem", "1rem"],
"3xl": ["1.75rem", "2rem"],
},
container: {
"@5xl": "1100px",
},
},
},
plugins: [
@@ -196,5 +199,6 @@ module.exports = {
plugin(function ({ addVariant }) {
addVariant("bit-compact", ".bit-compact &");
}),
require("@tailwindcss/container-queries"),
],
};