about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorSamuel Kaiser <sk22@mailbox.org>2022-11-13 21:02:28 +0100
committerClaire <claire.github-309c@sitedethib.com>2022-11-14 09:05:56 +0100
commit9fd866f38ef31032abb319eb5db9ee5778a02440 (patch)
treebe53b25189dc8960a89f860660ec0190efd4e96d /app/javascript/flavours/glitch
parentcd713cac81fbbb708560d44e8176ef8f52e66502 (diff)
[Glitch] Stick batch table toolbar to the top
Port e62b514e958ca2bfc08944b2368c6d41417f9e8a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/styles/tables.scss3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/tables.scss b/app/javascript/flavours/glitch/styles/tables.scss
index 919255790..14daf591e 100644
--- a/app/javascript/flavours/glitch/styles/tables.scss
+++ b/app/javascript/flavours/glitch/styles/tables.scss
@@ -178,6 +178,9 @@ a.table-action-link {
   }
 
   &__toolbar {
+    position: sticky;
+    top: 0;
+    z-index: 1;
     border: 1px solid darken($ui-base-color, 8%);
     background: $ui-base-color;
     border-radius: 4px 0 0;