Skip to content

Commit fb361c3

Browse files
committed
Refactor header styling for improved layout and consistency
1 parent f3963d0 commit fb361c3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/summaryView.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class SummaryViewProvider implements vscode.WebviewViewProvider {
130130
--background-color: var(--vscode-editor-background);
131131
--text-color: var(--vscode-editor-foreground);
132132
--border-color: var(--vscode-panel-border);
133-
--header-background: var(--vscode-titleBar-activeBackground);
133+
--header-background: var(--vscode-editor-background);
134134
--header-foreground: var(--vscode-titleBar-activeForeground);
135135
--chart-grid-color: rgba(255, 255, 255, 0.1);
136136
--chart-text-color: rgba(255, 255, 255, 0.9);
@@ -230,14 +230,15 @@ export class SummaryViewProvider implements vscode.WebviewViewProvider {
230230
}
231231
.header {
232232
display: flex;
233-
justify-content: space-between;
233+
justify-content: center;
234234
align-items: center;
235235
background-color: var(--header-background);
236236
padding: 10px;
237237
}
238238
.header h1 {
239239
margin: 0;
240240
padding: 0;
241+
text-align: center;
241242
background-color: transparent;
242243
}
243244
.reload-button {

0 commit comments

Comments
 (0)