fix(book-filter): limited max width to ensure scrollbar does not overlap element (#3195)
This commit is contained in:
Regular → Executable
+4
-1
@@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.filter-header {
|
.filter-header {
|
||||||
display: flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
@@ -54,6 +54,7 @@
|
|||||||
gap: 0.25rem;
|
gap: 0.25rem;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filter-label-text {
|
.filter-label-text {
|
||||||
@@ -69,6 +70,7 @@
|
|||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filter-list {
|
.filter-list {
|
||||||
@@ -84,6 +86,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
|
max-width: 97%;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
|
|||||||
Reference in New Issue
Block a user