fix: do not change scroll position when refreshing grid.
fix: change `button` to `span`, avoiding conflict styles.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user