Skip to content

Commit 596c5b2

Browse files
committed
Convert sidebar logo to button
1 parent 24feda9 commit 596c5b2

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

src/components/AppSidebar.vue

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,16 @@ const store = useStore()
1111
<template>
1212
<nav class="nav">
1313
<div class="upper">
14-
<img
14+
<button
1515
class="nav-logo"
16-
role="button"
17-
tabindex="0"
18-
width="30"
19-
height="30"
20-
title="Go to Gitification repository"
21-
draggable="false"
22-
src="/src/assets/img/icon.png"
2316
@click="open(REPO_LINK)"
2417
>
18+
<img
19+
title="Go to Gitification repository"
20+
draggable="false"
21+
src="/src/assets/img/icon.png"
22+
>
23+
</button>
2524
</div>
2625
<div class="lower">
2726
<SidebarButton
@@ -87,6 +86,14 @@ const store = useStore()
8786
@include focus-visible;
8887
border:1px solid black;
8988
border-radius: 50%;
89+
width: 30px;
90+
height: 30px;
91+
92+
img {
93+
border-radius: 50%;
94+
width: 100%;
95+
height: 100%;
96+
}
9097
9198
&:hover,
9299
&:active {

0 commit comments

Comments
 (0)