Renaming all instances of MenuLink to MenuItem

This commit is contained in:
koloml committed 2024-07-07 02:52:36 +04:00
1 parent eae5016daa
commit dc27f33231
8 files changed
+32 -35

No files matched your search

+2 -2
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 {
@@ -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;