commit c7a42c8e85cd91fdc2515418c415e477b4eed5c1
parent 912eb461ef29ce4bb781a429752c3f52fd7ae2b9
Author: archiveanon <>
Date: Sat, 25 Jan 2025 11:11:06 +0000
Implement mobile view styling
Diffstat:
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/autotako/static/style.css b/src/autotako/static/style.css
@@ -13,6 +13,12 @@ a {
display: grid;
grid-template-columns: 66% auto fit-content(0);
gap: 0 var(--sl-spacing-medium);
+
+ @media only screen and (max-width: 768px) {
+ display: flex;
+ flex-direction: column;
+ align-items: initial;
+ }
}
.job__item {
display: grid;
@@ -23,6 +29,12 @@ a {
&:nth-child(odd) {
background-color: var( --sl-color-neutral-50);
}
+
+ @media only screen and (max-width: 768px) {
+ display: flex;
+ flex-direction: column;
+ align-items: initial;
+ }
}
.job__item--disabled {
.job__info {
@@ -52,6 +64,10 @@ a {
.job__controls {
display: flex;
align-items: center;
+
+ @media only screen and (max-width: 768px) {
+ align-self: end;
+ }
}
.job__autoupload {
color: var(--sl-color-neutral-500);