From 24dc40a1b07be48c689df28d32b76868f5403aa5 Mon Sep 17 00:00:00 2001 From: Aitor Date: Thu, 12 Jan 2023 17:17:50 +0100 Subject: [PATCH] :bug: Fix library list spacing --- frontend/resources/styles/main/partials/modal.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/resources/styles/main/partials/modal.scss b/frontend/resources/styles/main/partials/modal.scss index 37dc692e7..026deb7cf 100644 --- a/frontend/resources/styles/main/partials/modal.scss +++ b/frontend/resources/styles/main/partials/modal.scss @@ -693,8 +693,8 @@ .section-list-item { padding: $size-4 0; border-bottom: 1px solid $color-gray-20; - position: relative; display: flex; + align-items: center; justify-content: space-between; .item-name { @@ -711,7 +711,6 @@ .item-button { cursor: pointer; - position: absolute; top: $size-4; right: 0; border: 1px solid $color-primary; @@ -720,6 +719,7 @@ background: $color-primary; color: $color-black; padding: $size-2; + margin-bottom: 0; &:hover { color: $color-primary; @@ -770,6 +770,11 @@ margin: 0; padding: 0; flex-grow: 1; + + &:hover, + &:focus { + outline: none; + } } & .search-icon {