fix(v3): improve theme dropdown sizing and prevent label truncation
This commit is contained in:
parent
d38adc017a
commit
9af7ac3f68
1 changed files with 4 additions and 4 deletions
|
|
@ -326,7 +326,7 @@
|
||||||
.theme-dropdown {
|
.theme-dropdown {
|
||||||
position: relative;
|
position: relative;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 180px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-trigger {
|
.theme-trigger {
|
||||||
|
|
@ -375,8 +375,8 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: calc(100% + 4px);
|
top: calc(100% + 4px);
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
min-width: 280px;
|
||||||
max-height: 320px;
|
max-height: 400px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background: var(--ctp-mantle);
|
background: var(--ctp-mantle);
|
||||||
border: 1px solid var(--ctp-surface1);
|
border: 1px solid var(--ctp-surface1);
|
||||||
|
|
@ -422,7 +422,7 @@
|
||||||
|
|
||||||
.theme-option-label {
|
.theme-option-label {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-colors {
|
.theme-colors {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue