Skip to content

Commit 0b63677

Browse files
Improve navbar accesibility (#134)
1 parent 166fe3c commit 0b63677

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ body {
3737
color: #0d0d0d;
3838
}
3939

40+
.navbar-brand a {
41+
text-decoration: none;
42+
outline-offset: 8px;
43+
}
44+
4045
.nav-link svg {
4146
vertical-align: middle;
4247
margin-top: -4.5px;

templates/base.html.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<nav class="navbar navbar-expand-md fixed-top">
1818

1919
<div class="navbar-brand">
20-
<a href="./" style="all: unset; cursor: pointer;">
20+
<a href="./">
2121
<img src="logo.png" style="height: 2rem;" alt="Python logo">
2222
<span style="font-size: 1.25rem; font-weight: 700; color: #4a4a4a">Translation Dashboard</span>
2323
</a>

0 commit comments

Comments
 (0)