summaryrefslogtreecommitdiff
path: root/web/source/css
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2023-02-07 10:00:13 +0100
committerLibravatar GitHub <noreply@github.com>2023-02-07 10:00:13 +0100
commit0ed50c172e9a02788852e22fa5835d0746456ce7 (patch)
treeaa842cc6a12b3744c96ad0b69296a5409160d9ca /web/source/css
parent[chore] Update bug report template (#1437) (diff)
downloadgotosocial-0ed50c172e9a02788852e22fa5835d0746456ce7.tar.xz
[chore/frogend] domain blocklist layout on smaller screens (#1436)
Diffstat (limited to 'web/source/css')
-rw-r--r--web/source/css/base.css9
1 files changed, 8 insertions, 1 deletions
diff --git a/web/source/css/base.css b/web/source/css/base.css
index 06ce28ff6..a211919c5 100644
--- a/web/source/css/base.css
+++ b/web/source/css/base.css
@@ -470,7 +470,7 @@ label {
.entry {
display: grid;
- grid-template-columns: 15rem 1fr;
+ grid-template-columns: max(30%, 10rem) 1fr;
gap: 0.5rem;
align-items: start;
border: $boxshadow-border;
@@ -495,4 +495,11 @@ label {
.header .domain {
color: $fg;
}
+}
+
+@media screen and (max-width: 30rem) {
+ .domain-blocklist .entry {
+ grid-template-columns: 1fr;
+ gap: 0;
+ }
} \ No newline at end of file