Skip to content

Commit ffc7d14

Browse files
authored
Merge pull request #3959 from siddocode/fix/back-button-click-area
Fix: Make "Back to Editor" button fully clickable
2 parents db8ff47 + 0694b9b commit ffc7d14

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

client/styles/components/_nav.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@
111111
}
112112

113113
.nav__item--no-icon {
114+
padding-left: 0;
115+
}
116+
117+
.nav__item--no-icon .nav__back-link {
114118
padding-left: #{math.div(15, $base-font-size)}rem;
115119
}
116120

@@ -289,4 +293,8 @@
289293

290294
.nav__back-link {
291295
display: flex;
292-
}
296+
align-items: center;
297+
width: 100%;
298+
height: 100%;
299+
text-decoration: none;
300+
}

0 commit comments

Comments
 (0)