Skip to content

Commit 59b2709

Browse files
authored
adjustments to code action styling (microsoft#226999)
* adjustments to code action styling * add margin top
1 parent 015878c commit 59b2709

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/vs/platform/actionWidget/browser/actionList.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ export class ActionList<T> extends Disposable {
166166

167167
private readonly _list: List<IActionListItem<T>>;
168168

169-
private readonly _actionLineHeight = 28;
170-
private readonly _headerLineHeight = 28;
169+
private readonly _actionLineHeight = 24;
170+
private readonly _headerLineHeight = 26;
171171

172172
private readonly _allMenuItems: readonly IActionListItem<T>[];
173173

src/vs/platform/actionWidget/browser/actionWidget.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@
132132
/* Action bar */
133133

134134
.action-widget .action-widget-action-bar {
135-
background-color: var(--vscode-editorHoverWidget-statusBarBackground);
135+
background-color: var(--vscode-editorActionList-background);
136136
border-top: 1px solid var(--vscode-editorHoverWidget-border);
137+
margin-top: 2px;
137138
}
138139

139140
.action-widget .action-widget-action-bar::before {
@@ -143,7 +144,7 @@
143144
}
144145

145146
.action-widget .action-widget-action-bar .actions-container {
146-
padding: 0 8px;
147+
padding: 3px 8px 0;
147148
}
148149

149150
.action-widget-action-bar .action-label {

0 commit comments

Comments
 (0)