diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-12-06 17:43:08 +0100 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-12-06 17:56:42 +0100 |
commit | 27bfa74cc54e52d31551d5b31db249d31d45c7a0 (patch) | |
tree | 86cb70cc6099b4211637d364afd49ffa3103b690 /apps/settings/css/settings.scss | |
parent | 714a5dc723a5d1c3aa39996a0fd962041044d2f1 (diff) | |
download | nextcloud-server-27bfa74cc54e52d31551d5b31db249d31d45c7a0.tar.gz nextcloud-server-27bfa74cc54e52d31551d5b31db249d31d45c7a0.zip |
Fix profile visibility not appearing
And refactor how the grid works (now it's automatically using the
correct size instead of harcoding it)
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/settings/css/settings.scss')
-rw-r--r-- | apps/settings/css/settings.scss | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss index 8cbc07f2773..53611999cce 100644 --- a/apps/settings/css/settings.scss +++ b/apps/settings/css/settings.scss @@ -89,7 +89,7 @@ select { display: grid; padding: 20px; max-width: 1700px; - grid-template-columns: 1fr 1fr 1fr 1fr; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); .section { padding: 10px 10px; @@ -149,27 +149,6 @@ select { } } -@media (min-width: 1400px) and (max-width: 1700px) { - #personal-settings { - display: grid; - grid-template-columns: 1fr 1fr 1fr; - } -} - -@media (min-width: 800px) and (max-width: 1400px) { - #personal-settings { - display: grid; - grid-template-columns: 1fr 1fr; - } -} - -@media (max-width: 800px) { - #personal-settings { - display: grid; - grid-template-columns: 1fr; - } -} - .personal-settings-container { display: inline-grid; grid-template-columns: 1fr 1fr 1fr; |