mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Remove unused classes from Tag.svelte
This commit is contained in:
parent
1dbe72187e
commit
3e3dd84a91
1 changed files with 1 additions and 5 deletions
|
@ -5,8 +5,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { createEventDispatcher, onMount } from "svelte";
|
import { createEventDispatcher, onMount } from "svelte";
|
||||||
|
|
||||||
import { pageTheme } from "../sveltelib/theme";
|
|
||||||
|
|
||||||
let className: string = "";
|
let className: string = "";
|
||||||
export { className as class };
|
export { className as class };
|
||||||
|
|
||||||
|
@ -29,11 +27,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
|
|
||||||
<button
|
<button
|
||||||
bind:this={button}
|
bind:this={button}
|
||||||
class="tag btn d-inline-flex align-items-center text-nowrap ps-2 pe-1 {className}"
|
class="tag d-inline-flex align-items-center text-nowrap ps-2 pe-1 {className}"
|
||||||
class:selected
|
class:selected
|
||||||
class:flashing
|
class:flashing
|
||||||
class:btn-day={!$pageTheme.isDark}
|
|
||||||
class:btn-night={$pageTheme.isDark}
|
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
title={tooltip}
|
title={tooltip}
|
||||||
on:mousemove
|
on:mousemove
|
||||||
|
|
Loading…
Reference in a new issue