1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-24 07:12:57 +00:00

Renaming all instances of MenuLink to MenuItem

This commit is contained in:
2024-07-07 02:47:52 +04:00
parent eae5016daa
commit dc27f33231
8 changed files with 32 additions and 35 deletions

View File

@@ -9,11 +9,11 @@
display: flex;
flex-direction: column;
& > :global(.menu-link) {
& > :global(.menu-item) {
padding: 5px 24px;
}
:global(.menu-link) {
:global(.menu-item) {
color: colors.$text;
&:hover {

View File

@@ -15,7 +15,7 @@
export let target = undefined;
</script>
<svelte:element this="{href ? 'a': 'span'}" class="menu-link" {href} {target} on:click role="link" tabindex="0">
<svelte:element this="{href ? 'a': 'span'}" class="menu-item" {href} {target} on:click role="link" tabindex="0">
{#if icon}
<i class="icon icon-{icon}"></i>
{/if}
@@ -25,7 +25,7 @@
<style lang="scss">
@use '../../../styles/colors';
.menu-link {
.menu-item {
display: flex;
align-items: center;