From e62b514e958ca2bfc08944b2368c6d41417f9e8a Mon Sep 17 00:00:00 2001
From: Samuel Kaiser <sk22@mailbox.org>
Date: Sun, 13 Nov 2022 21:02:28 +0100
Subject: [PATCH] Stick batch table toolbar to the top (#20442)

Fixes #20441
---
 app/javascript/styles/mastodon/tables.scss | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/javascript/styles/mastodon/tables.scss b/app/javascript/styles/mastodon/tables.scss
index 39211910fb..b644b38f15 100644
--- a/app/javascript/styles/mastodon/tables.scss
+++ b/app/javascript/styles/mastodon/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;