дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
A truncated element with a long data-tooltip put that text in the tooltip's shortcut slot (nowrap, keys font), which overflowed the bubble and crushed the main text to one character per line, as on the Remote Host Resources status item. The tooltip now shows such text as a wrapping note separate from the shortcut and honours data-no-tooltip up to the tooltip owner. The remote status items opt out of the redundant ellipsis tooltip and ellipsize their labels, and the breadcrumbs yield space first in the status bar. Co-authored-by: dengliu <[email protected]>
99 рядки
1.7 KiB
CSS
99 рядки
1.7 KiB
CSS
/* Fields fill the first column; their side buttons share the second, so both rows end at the same edge. */
|
|
.form {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: var(--space-1-5) var(--space-2);
|
|
align-items: center;
|
|
padding: 14px var(--space-4);
|
|
}
|
|
/* In the Remote Development window the title above it gives the space. */
|
|
.windowForm {
|
|
padding-top: 0;
|
|
}
|
|
.form > * {
|
|
grid-column: 1 / -1;
|
|
}
|
|
.hint {
|
|
margin: 0 0 6px;
|
|
color: var(--fg-muted);
|
|
line-height: 1.5;
|
|
}
|
|
.label {
|
|
color: var(--fg);
|
|
margin-top: 4px;
|
|
}
|
|
.row {
|
|
display: contents;
|
|
}
|
|
.row > * {
|
|
grid-column: auto;
|
|
}
|
|
.row > :only-child {
|
|
grid-column: 1 / -1;
|
|
}
|
|
.grow {
|
|
min-width: 0;
|
|
}
|
|
.folders {
|
|
list-style: none;
|
|
margin: 4px 0 0;
|
|
padding: 4px 0;
|
|
max-height: 220px;
|
|
overflow: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
}
|
|
.folder {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
width: 100%;
|
|
padding: 3px 8px;
|
|
border: 0;
|
|
background: none;
|
|
color: var(--fg);
|
|
font: inherit;
|
|
text-align: left;
|
|
cursor: default;
|
|
}
|
|
.folder:hover {
|
|
background: var(--bg-hover);
|
|
}
|
|
.error {
|
|
color: var(--danger);
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
user-select: text;
|
|
}
|
|
|
|
.progress {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-1-5);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.progressLine {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-1-5);
|
|
color: var(--fg-muted);
|
|
}
|
|
|
|
.percent {
|
|
margin-left: auto;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.lost {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-1);
|
|
min-width: 0;
|
|
color: var(--warning);
|
|
}
|
|
.statusLabel {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|