Probably because in the new Repository (bitwarden/clients/) they used 350px
as maximum width:
1f6eec4dd5caecb817448eadf0ebb369235eeaf2/apps/desktop/src/scss/vault.scss#L33
Compared to 600px
in the Original Pull Request on the old Repository (bitwarden/desktop/
): commit 55b301c267896b716788480ccece2e3a59e9fa06
Showing the History of that File:
28bc4113b9bbae4dba2b5af14d460764fce79acf/src/scss/vault.scss
If we do a “blame” we don’t see anything for the vault.scss
File:
bitwarden/clients/blame/main/apps/desktop/src/scss/vault.scss
But it was in a previous location at src/scss/vault.scss
instead of the newer apps/desktop/src/scss/vault.scss
.
I’m also not sure if the commit got actually merged in the end.
A commit occurred 3 days after the max-width
was increased to 600px.
Commit
`0396d682b1be44799ace65e8c3930749e45addbb#diff-33307cd14740ab48c570cd1a9ad3e48754c3d4819eb3850ff5aae497a73d80de
Width details of the File:
0396d682b1be44799ace65e8c3930749e45addbb/src/scss/vault.scss
The > .groupings
section is still correctly set at max-width: 600px;
at that time.
But it seems the File/Folder got restructured quite a bit since then, ince the > .groupings {
Section cannot be found there anymore.
I think that the issue is that the sidebar
has been moved to ./apps/desktop/src/scss/left-nav.scss
with the following contents for max-width
:
.left-nav {
order: 1;
display: flex;
flex-direction: column;
width: 22%;
min-width: 175px;
max-width: 250px;
border-right: 1px solid #000000;
flex-grow: 1;
justify-content: space-between;
@include themify($themes) {
background-color: themed("backgroundColorAlt");
border-right-color: themed("borderColor");
}
}
Cloning the Repository and doing a quick grep
shows that these files might be responsible for it.
Result of grep -riF "max-width" ./apps/desktop/
:
./apps/desktop/src/scss/vault.scss: max-width: 350px;
./apps/desktop/src/scss/vault.scss: max-width: 550px;
./apps/desktop/src/scss/modal.scss: max-width: $modal-md;
./apps/desktop/src/scss/modal.scss: max-width: $modal-sm;
./apps/desktop/src/scss/modal.scss: max-width: $modal-lg;
./apps/desktop/src/scss/left-nav.scss: max-width: 250px;
./apps/desktop/src/scss/header.scss: max-width: 168px;
./apps/desktop/src/scss/pages.scss: max-width: 100%;
./apps/desktop/src/scss/list.scss: max-width: 20px;
./apps/desktop/src/scss/box.scss: @media (max-width: 875px) {
./apps/desktop/src/scss/box.scss: @media (max-width: 875px) {
./apps/desktop/src/scss/box.scss: @media (max-width: 875px) {
Not sure if it’s possible to recompile the Client ourselves easily.
For me on Ubuntu GNU/Linux AMD64 I guess it would be doable:
Otherwise maybe the Portwarden Bitwarden-Compatible Client ?
I cannot post more than 2 links as a new User unfortunately, so it’s not going to be super helpful the Description here …