дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 17:21:13 +02:00
The scratch file language chooser keeps its search field and list usable in short windows instead of overflowing.
60 рядки
1.0 KiB
CSS
60 рядки
1.0 KiB
CSS
.popup {
|
|
width: 320px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
.body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
padding-bottom: var(--space-1);
|
|
font-size: var(--fs-ui);
|
|
}
|
|
.header {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: var(--space-2) var(--space-3) var(--space-1);
|
|
color: var(--fg-strong);
|
|
line-height: 1.4;
|
|
}
|
|
.search {
|
|
flex: none;
|
|
margin: 0 var(--space-2) var(--space-1);
|
|
border-bottom: 1px solid var(--border-popup);
|
|
}
|
|
.list {
|
|
max-height: calc(20 * var(--h-list-row) + var(--space-2));
|
|
}
|
|
.divider {
|
|
width: 100%;
|
|
height: 1px;
|
|
background: var(--border-popup);
|
|
}
|
|
.row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.label {
|
|
min-width: 0;
|
|
color: var(--fg-emphasis);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.icon {
|
|
flex: none;
|
|
}
|
|
.active .label {
|
|
color: var(--fg-strong);
|
|
}
|
|
.empty {
|
|
padding: 6px 10px;
|
|
color: var(--fg-faint);
|
|
font-size: var(--fs-small);
|
|
}
|