mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
[PM-15021] Improve in-tab experience for extension (#12155)
This commit is contained in:
@@ -50,7 +50,7 @@ export class PopupWidthService {
|
|||||||
|
|
||||||
private static setStyle(width: PopupWidthOption) {
|
private static setStyle(width: PopupWidthOption) {
|
||||||
const pxWidth = PopupWidthOptions[width] ?? PopupWidthOptions.default;
|
const pxWidth = PopupWidthOptions[width] ?? PopupWidthOptions.default;
|
||||||
document.body.style.width = `${pxWidth}px`;
|
document.body.style.minWidth = `${pxWidth}px`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
min-width: 380px !important;
|
min-width: 380px;
|
||||||
height: 600px !important;
|
height: 600px !important;
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
|||||||
Reference in New Issue
Block a user