Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display more profiles on the profile drop-down list, v2 (fixed for low res, fixed linter) #4359

Merged
merged 7 commits into from
Nov 22, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,28 @@
inset-block-start: 60px;
inset-inline-end: 10px;
min-inline-size: 250px;
block-size: 400px;
block-size: auto;
padding: 5px;
background-color: var(--card-bg-color);
box-shadow: 0 0 4px var(--scrollbar-color-hover);
}

.profileWrapper {
margin-block-start: 60px;
block-size: 340px;
block-size: auto;
CelularBat marked this conversation as resolved.
Show resolved Hide resolved
overflow-y: auto;
/* profile list max height: 90% of window size - 100 px. It's scaled to be 340px on 800x600 resolution.
Offset of 100px is to compensate for the fixed size of elements above the list, which takes more screen space on lower resolutions */
CelularBat marked this conversation as resolved.
Show resolved Hide resolved
max-block-size: calc(90vh - 100px);
min-block-size: 340px;
}

/* Navbar changes position to horizontal with this media rule.
Height adjust for profile list so it won't cover navbar. */
@media only screen and (max-width: 680px){
.profileWrapper {
max-block-size: calc(95vh - 180px);
}
CelularBat marked this conversation as resolved.
Show resolved Hide resolved
}

.profile {
Expand Down