fix: do not change scroll position when refreshing grid.

fix: change `button` to `span`, avoiding conflict styles.
This commit is contained in:
2024-02-28 10:29:19 +08:00
parent 38bad864e0
commit 5e53d04174
2 changed files with 30 additions and 19 deletions

View File

@ -595,11 +595,14 @@
justify-content: flex-end;
padding: 4px;
>button {
>.button {
box-sizing: border-box;
padding-inline: 6px;
text-align: center;
margin-right: 10px;
min-width: 40px;
height: var(--filter-line-height);
line-height: var(--filter-line-height);
border: none;
background-color: transparent;
cursor: pointer;
@ -625,8 +628,10 @@
white-space: nowrap;
overflow: hidden;
>button {
>.button {
margin-right: 6px;
padding-inline: 6px;
text-align: center;
border: none;
line-height: 28px;
color: var(--title-color);
@ -634,6 +639,7 @@
padding: 0 10px;
box-sizing: border-box;
height: 28px;
line-height: 28px;
cursor: pointer;
user-select: none;
background-color: var(--title-bg-color);