Merged in fix/SW-2158-map-link-focus (pull request #2006)

fix(SW-2158): focus state for map link

* fix(SW-2158): focus state for map link

The text `See map` didn't have the correct keyboard focus design. I
noticed the text used a button component, which I don't think is the
best, semantically. I removed the button component and just used text
since everything was wrapped in an a tag anyway.

* Use new space variable


Approved-by: Bianca Widstam
This commit is contained in:
Niclas Edenvin
2025-05-08 08:38:13 +00:00
parent 0ed8b8ab20
commit dac8d8bce1
2 changed files with 10 additions and 4 deletions
@@ -68,6 +68,13 @@
margin-bottom: var(--Spacing-x3);
}
.linkText {
display: flex;
padding: var(--Space-x15) 0;
justify-content: center;
font-weight: var(--Link-md-Font-weight);
}
@media (min-width: 768px) {
.main {
padding: var(--Spacing-x5) 0;
@@ -109,7 +116,7 @@
.link {
display: flex;
padding-bottom: var(--Spacing-x6);
margin-bottom: var(--Space-x6);
}
.mapContainer {
display: flex;