Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion FASTBuildMonitorVSCode/webview-ui/src/monitor_panel/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,22 @@ body.vscode-dark:not(.legacy-colors) {
.toolbar {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
padding: 8px 12px;
background: var(--toolbar-bg);
flex-shrink: 0;
}

/* Keep controls at their natural size; narrow panels wrap the toolbar instead
of squashing buttons or wrapping their labels inside the fixed height. */
.toolbar button,
.toolbar .sep,
.toolbar .elapsed {
flex-shrink: 0;
white-space: nowrap;
}

.toolbar button {
border: none;
color: var(--text-bright);
Expand Down Expand Up @@ -164,7 +174,11 @@ body.vscode-dark:not(.legacy-colors) {

.toolbar .status {
font-size: 13px;
flex: 1;
flex: 1 1 80px;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.toolbar .elapsed {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Toolbar({
{isMonitoring ? '\u23F9 Stop Monitoring' : '\u25B6 Start Monitoring'}
</button>
<div className="sep" />
<span className="status">{statusText}</span>
<span className="status" title={statusText}>{statusText}</span>
<span className="elapsed">{elapsedTime}</span>
<div className="sep" />
<button className="zoom-btn" onClick={onZoomOut} title="Zoom Out">
Expand Down
Loading