fix(SW-2171): Added focus state on rate cards and image-gallery

Approved-by: Arvid Norlin
This commit is contained in:
Erik Tiekstra
2025-04-16 10:24:51 +00:00
parent 27f5ca9851
commit 8b65f63d60
5 changed files with 37 additions and 28 deletions
@@ -1,3 +1,10 @@
.wrapper {
position: relative;
width: 100%;
height: 100%;
border-radius: inherit;
}
.imageCount {
position: absolute;
bottom: 16px;
@@ -10,24 +17,24 @@
display: flex;
align-items: center;
gap: var(--Spacing-x-quarter);
}
.imageCountNumber {
color: var(--Text-Inverted);
}
.triggerArea {
display: flex;
cursor: pointer;
}
.triggerArea:not(.fill) {
position: relative;
.triggerArea {
background-color: transparent;
border-width: 0;
padding: 0;
position: absolute;
inset: 0;
cursor: pointer;
border-radius: inherit;
}
.image {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: inherit;
}
.imagePlaceholder {