mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-11 14:48:46 +01:00
[PM-15021] Improve in-tab experience for extension (#12155)
This commit is contained in:
parent
3db5beaa60
commit
347d6fc718
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user