1
0
mirror of https://github.com/bitwarden/browser synced 2026-03-02 11:31:44 +00:00

Use tailwind-alike classes for new styles

This commit is contained in:
Jeffrey Holland
2025-08-20 16:20:33 +02:00
parent 69d24d29c2
commit 81690617c5
8 changed files with 44 additions and 27 deletions

View File

@@ -172,6 +172,24 @@
text-align: unset;
}
/**
* tw-app-region-drag and tw-app-region-no-drag are used for Electron window dragging behavior
* These will replace direct -webkit-app-region usage as part of the migration to Tailwind CSS
*/
.tw-app-region-drag {
-webkit-app-region: drag;
}
.tw-app-region-no-drag {
-webkit-app-region: no-drag;
}
.tw-app-region-header-sticky {
position: sticky;
top: 0;
z-index: 1;
}
/**
* Bootstrap uses z-index: 1050 for modals, dialogs and drag-and-drop previews should appear above them.
* When bootstrap is removed, test if these styles are still needed and that overlays display properly over other content.