refactor: adjust icon size just a bit

pull/686/head
Kia Ishii 3 years ago
parent 58538e3a5a
commit e2b2f0b8e8

@ -25,13 +25,6 @@ const closeSideBar = inject('close-sidebar') as () => void
</template> </template>
<style scoped> <style scoped>
:deep(.icon) {
margin-top: -2px;
width: 14px;
height: 14px;
fill: currentColor;
}
.link { .link {
display: block; display: block;
padding: 6px 0; padding: 6px 0;
@ -41,12 +34,16 @@ const closeSideBar = inject('close-sidebar') as () => void
.link:hover { .link:hover {
color: var(--vp-c-text-1); color: var(--vp-c-text-1);
transition: color 0.25s;
} }
.link.active { .link.active {
color: var(--vp-c-brand); color: var(--vp-c-brand);
transition: color 0.25s; }
.link :deep(.icon) {
width: 12px;
height: 12px;
fill: currentColor;
} }
.link-text { .link-text {

Loading…
Cancel
Save