From 66320c3ecaa6db4cd99c765326a4cef4b837df02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Wed, 15 Sep 2021 00:16:29 +0200 Subject: [PATCH] Fix clickable blank space in admin table actions There were times when some actions had text expanding over two lines while other actions had text on just one line. Since all the items in a row had the same height, the elements with just one line added a blank second line. This was obvious when hovering with the mouse or focusing on the element with the keyboard. It looked weird when the element received focused, and it could also lead to unintentional clicks when clicking on the blank space below the element. --- app/assets/stylesheets/admin/table_actions.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/admin/table_actions.scss b/app/assets/stylesheets/admin/table_actions.scss index f2e1775d6..343e35883 100644 --- a/app/assets/stylesheets/admin/table_actions.scss +++ b/app/assets/stylesheets/admin/table_actions.scss @@ -1,4 +1,5 @@ .admin .table-actions { + align-items: flex-start; display: flex; > :not(:first-child) {