about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/containers.scss
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-30 07:41:16 +0200
committerThibaut Girka <thib@sitedethib.com>2019-08-31 18:23:24 +0200
commitcd46099e4939807af05b2ca1c8800d6a956d691b (patch)
treed619eb6edab6d154660a845172403e5388b83762 /app/javascript/flavours/glitch/styles/containers.scss
parent7fe2120dd57769aaba6e1e373316b03b45a3555d (diff)
[Glitch] Change layout of public profile directory to be the same as in web UI
Port 987190417228bb56041ea824772341f07f4263d6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/containers.scss')
-rw-r--r--app/javascript/flavours/glitch/styles/containers.scss18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/containers.scss b/app/javascript/flavours/glitch/styles/containers.scss
index 130e1461c..45eb5a9d0 100644
--- a/app/javascript/flavours/glitch/styles/containers.scss
+++ b/app/javascript/flavours/glitch/styles/containers.scss
@@ -769,6 +769,24 @@
     }
   }
 
+  .directory__list {
+    display: grid;
+    grid-gap: 10px;
+    grid-template-columns: minmax(0, 50%) minmax(0, 50%);
+
+    @media screen and (max-width: $no-gap-breakpoint) {
+      display: block;
+    }
+
+    .icon-button {
+      font-size: 18px;
+    }
+  }
+
+  .directory__card {
+    margin-bottom: 0;
+  }
+
   .card-grid {
     display: flex;
     flex-wrap: wrap;