From 84903db6b0e5499f407fc18e0f299158385d6f12 Mon Sep 17 00:00:00 2001 From: Anthony Tarlao Date: Mon, 16 Dec 2024 19:59:21 +0100 Subject: [PATCH] Books: fix preview border --- server/modules/book-page/ui/src/preview.scss | 4 ++-- server/modules/donate-widget/ui/src/index.scss | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/server/modules/book-page/ui/src/preview.scss b/server/modules/book-page/ui/src/preview.scss index 85e6555..0d90dfa 100644 --- a/server/modules/book-page/ui/src/preview.scss +++ b/server/modules/book-page/ui/src/preview.scss @@ -371,12 +371,12 @@ &--second { border-top-left-radius: 4px; border-top-right-radius: 4px; + border: 1px solid black; @media (min-width: map-get($breakpoints, 'md')) { &:hover { background-color: white; color: black; - border: 1px solid black; width: 170px; } } @@ -385,12 +385,12 @@ &--third { border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; + border: 1px solid black; @media (min-width: map-get($breakpoints, 'md')) { &:hover { background-color: white; color: black; - border: 1px solid black; width: 170px; } } diff --git a/server/modules/donate-widget/ui/src/index.scss b/server/modules/donate-widget/ui/src/index.scss index a8bb9c2..e4172f4 100644 --- a/server/modules/donate-widget/ui/src/index.scss +++ b/server/modules/donate-widget/ui/src/index.scss @@ -181,6 +181,12 @@ outline: none; border: 2px solid black; } + + &:hover { + background-color: black; + color: white; + transition: all 0.3s; + } } ::placeholder {