mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-02 08:15:56 +01:00
Adjust CI Status Widget header height and margin for improved layout
This commit is contained in:
@@ -148,7 +148,7 @@ class CICheckListRenderer implements IListRenderer<ICICheckListItem, ICICheckTem
|
||||
*/
|
||||
export class CIStatusWidget extends Disposable {
|
||||
|
||||
static readonly HEADER_HEIGHT = 36; // total header height in px
|
||||
static readonly HEADER_HEIGHT = 38; // total header height in px
|
||||
static readonly MIN_BODY_HEIGHT = 84; // at least 3 checks (3 * 28)
|
||||
static readonly PREFERRED_BODY_HEIGHT = 112; // preferred 4 checks (4 * 28)
|
||||
static readonly MAX_BODY_HEIGHT = 240; // at most ~8 checks
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px 4px;
|
||||
margin-top: 2px;
|
||||
margin-top: 4px;
|
||||
border-radius: 8px;
|
||||
min-height: 22px;
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user