From 3e03544b5cf3293c8b40835d35cd1f2d3995e79d Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Thu, 15 Aug 2024 19:41:43 +0200 Subject: [PATCH] Fix missing top border on Admin Hashtags UI Closes #31212 --- 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 4997ed9b847..12f739efdcd 100644 --- a/app/javascript/styles/mastodon/tables.scss +++ b/app/javascript/styles/mastodon/tables.scss @@ -153,6 +153,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 8d76d8ffa74..1d31cfed3bc 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'