Set a max-width: 600px for group containers.

This commit is contained in:
Fabio Manganiello 2023-05-01 01:22:02 +02:00
parent 1e43866978
commit a3839e637d
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -464,6 +464,10 @@ export default {
background: transparent;
border: 0;
@include until($tablet) {
padding-right: 0;
}
&:hover {
color: $default-hover-fg;
}
@ -480,13 +484,15 @@ export default {
width: 100%;
height: calc(100% - #{$selector-height});
overflow: auto;
@include until($tablet) {
padding: 0.5em;
}
}
.groups-container {
@include until(#{$desktop - 1}) {
display: flex;
flex-direction: column;
align-items: center;
}
@include from($desktop) {
column-count: var(--groups-per-row);
}
@ -494,6 +500,7 @@ export default {
.group {
width: 100%;
max-width: 600px;
max-height: 100%;
position: relative;
padding: $main-margin 0;