fix(css): improve wrapping when right sidebar has more than two items (#762)

* improve wrapping when right sidebar has more than two items, particularly on mobile

* Adjusted min-width
This commit is contained in:
Justin Fowler 2024-01-29 23:56:59 -06:00 committed by GitHub
parent 8df74185e9
commit 6ce754bda2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -171,9 +171,11 @@ a {
& .sidebar.right {
right: calc(calc(100vw - $pageWidth) / 2 - $sidePanelWidth);
flex-wrap: wrap;
& > * {
@media all and (max-width: $fullPageWidth) {
flex: 1;
min-width: 140px;
}
}
}