mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Adjust border radius of tags to fit new fields
This commit is contained in:
parent
96cbca8fb6
commit
f79e2aca92
1 changed files with 6 additions and 2 deletions
|
@ -60,7 +60,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<button
|
||||
bind:this={button}
|
||||
class={`tag btn d-inline-flex align-items-center text-nowrap rounded ps-2 pe-1 m-0 ${className}`}
|
||||
class="tag btn d-inline-flex align-items-center text-nowrap ps-2 pe-1 m-0 {className}"
|
||||
class:selected
|
||||
class:flashing
|
||||
class:select-mode={selectMode}
|
||||
|
@ -73,7 +73,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
>
|
||||
<span>{name}</span>
|
||||
<Badge
|
||||
class="delete-icon rounded d-flex align-items-center ms-1"
|
||||
class="delete-icon rounded-circle d-flex align-items-center ms-1"
|
||||
on:click={() => {
|
||||
if (!selectMode) {
|
||||
deleteTag();
|
||||
|
@ -107,6 +107,10 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
box-shadow: none;
|
||||
}
|
||||
|
||||
&.tag {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
&.flashing {
|
||||
animation: flash 0.3s linear;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue