From 6615f17b4837b73b1c5baec48e5dcfa1371b6c14 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Mon, 9 Dec 2024 13:55:28 +0100 Subject: [PATCH] Fix missing top border on Admin Hashtags UI (#31443) --- app/javascript/styles/mastodon/tables.scss | 8 ++++++++ app/views/admin/tags/index.html.haml | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/javascript/styles/mastodon/tables.scss b/app/javascript/styles/mastodon/tables.scss index 07d1ce12fda..e2996356bf8 100644 --- a/app/javascript/styles/mastodon/tables.scss +++ b/app/javascript/styles/mastodon/tables.scss @@ -149,6 +149,14 @@ a.table-action-link { } .batch-table { + &--no-toolbar { + .batch-table__toolbar { + position: static; + height: 4px; + border-bottom: none; + } + } + &__toolbar, &__row { display: flex; diff --git a/app/views/admin/tags/index.html.haml b/app/views/admin/tags/index.html.haml index be699e5ab2b..cf265e22ad8 100644 --- a/app/views/admin/tags/index.html.haml +++ b/app/views/admin/tags/index.html.haml @@ -29,7 +29,8 @@ %hr.spacer/ -.batch-table +.batch-table.batch-table--no-toolbar + .batch-table__toolbar .batch-table__body - if @tags.empty? = nothing_here 'nothing-here--under-tabs nothing-here--no-toolbar'