improve css naming for unstyled links

This commit is contained in:
Julian Stirling 2026-07-02 10:06:53 +01:00
parent f89c4795ab
commit 2c7910da60
2 changed files with 4 additions and 4 deletions

View file

@ -310,19 +310,19 @@
}
// For links that shouldn't look styled like links (such as in menus)
.ofm-hidden-link {
.ofm-unstyled-link {
text-decoration: none;
cursor: pointer;
color: @global-color;
}
.ofm-hidden-link.disabled{
.ofm-unstyled-link.disabled{
cursor: default;
color: @global-muted-color;
}
.hook-inverse() {
.ofm-hidden-link{
.ofm-unstyled-link{
color: @inverse-global-color;
}
}

View file

@ -3,7 +3,7 @@
<span class="material-symbols-outlined sync-icon">
{{ icon }}
</span>
<span v-if="showLabel" class="icon-label ofm-hidden-link" :class="{ disabled: disabled }">
<span v-if="showLabel" class="icon-label ofm-unstyled-link" :class="{ disabled: disabled }">
{{ label }}
</span>
</a>