aboutsummaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2024-03-14 17:24:03 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2024-03-14 17:24:03 +0100
commita2a494c73a22151a83b8f2f03c8efab77f1fafe2 (patch)
tree3cd7ac2b3e625fe277cce608f7675c572df8dbc0 /app/assets
parentef5cf7b98545f80cb10c29c6446ff659378fd03a (diff)
downloadoperum-a2a494c73a22151a83b8f2f03c8efab77f1fafe2.tar.gz
operum-a2a494c73a22151a83b8f2f03c8efab77f1fafe2.zip
Improved style on mobile for centered forms
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/utils.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/utils.css b/app/assets/stylesheets/utils.css
index 335e595..3659b13 100644
--- a/app/assets/stylesheets/utils.css
+++ b/app/assets/stylesheets/utils.css
@@ -7,6 +7,12 @@
grid-template-columns: repeat(3, 1fr);
}
+@media only screen and (max-width: 720px) {
+ .center-contents {
+ grid-template-columns: 1fr;
+ }
+}
+
.flex-list {
display: flex;
align-items: start;