about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/containers.scss
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-12-18 17:03:53 +0100
committerThibaut Girka <thib@sitedethib.com>2018-12-18 17:03:53 +0100
commita18a46ca6e70e38fdcd732cb6b71eac51a1bd784 (patch)
tree2f4912bbb9fb3612462bfcf41505259ce217e302 /app/javascript/flavours/glitch/styles/containers.scss
parent034ffc079e40e0c723173b5998242803cc28dc50 (diff)
[Glitch] Responsive design for profile directory
Port SCSS changes from 087e11897137dc1f2811c21c3ccc6cec3ccdedb3 to glitch flavour
Diffstat (limited to 'app/javascript/flavours/glitch/styles/containers.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/containers.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/containers.scss b/app/javascript/flavours/glitch/styles/containers.scss
index 398458e47..82d4050d7 100644
--- a/app/javascript/flavours/glitch/styles/containers.scss
+++ b/app/javascript/flavours/glitch/styles/containers.scss
@@ -296,6 +296,12 @@
         text-decoration: underline;
         color: $primary-text-color;
       }
+
+      @media screen and (max-width: $no-gap-breakpoint) {
+        &.optional {
+          display: none;
+        }
+      }
     }
 
     .nav-button {