Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit e2b8d17

Browse files
committed
fix(packages/core): adjust REPL tables to be a bit more standard
this PR adjusts the table rendering in the repl to look more conventionally like a console, while keeping the badge and clickable decorations the changes are limited to: row height; table padding; and header presentation (bottom border, font weight, font color, and all-caps) Fixes #3036
1 parent 15cd56f commit e2b8d17

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

packages/core/web/css/kui-tables.css

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
/* for Light tables, there is no th background color, thus no need for extra space */
3737
padding-top: 0;
3838
padding-bottom: 0;
39-
font-weight: bold;
39+
font-weight: 300;
40+
color: var(--color-text-02);
41+
text-transform: uppercase;
4042
}
4143
[kui-theme-style] .repl .bx--data-table:not([kui-table-style="Light"]) th.header-cell {
4244
border-bottom: none;
@@ -58,7 +60,6 @@
5860
[kui-theme-style] .result-table-title-outer {
5961
background-color: transparent;
6062
color: var(--color-name);
61-
padding: 0.6875em 0;
6263
}
6364
.result-as-multi-table .result-table-outer-wrapper:first-child .result-table-title-outer {
6465
padding-top: 0;
@@ -82,9 +83,7 @@ sidecar .result-table[kui-table-style="Light"] .header-cell .cell-inner {
8283
.header-cell:not(:first-child) .cell-inner {
8384
border-left: 1px solid var(--color-table-border3);
8485
}
85-
.log-lines .header-cell,
86-
.repl .result-as-table .result-table[kui-table-style="Light"] .header-row .header-cell,
87-
.repl .result-as-table.result-table[kui-table-style="Light"] .header-row .header-cell {
86+
.log-lines .header-cell {
8887
border-bottom: 1px solid var(--color-content-divider);
8988
}
9089

@@ -244,10 +243,6 @@ sidecar .log-lines[kui-table-style="Light"] .log-line,
244243
.repl .bx--data-table[kui-table-style="Light"] .entity-attributes > td .cell-inner {
245244
border: none;
246245
}
247-
.repl .bx--data-table[kui-table-style="Light"] badge {
248-
height: 1.75em;
249-
line-height: 1.75em;
250-
}
251246
.result-as-table .result-table-outer[kui-table-style="Light"] .result-table-title,
252247
.result-as-table .result-table-outer[kui-table-style="Medium"] .result-table-title {
253248
padding-left: 0.75em;

packages/core/web/css/top-tab-stripe.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,6 @@ body.subwindow:not(.sidecar-is-minimized) .left-tab-stripe {
119119
body.not-electron .repl-input {
120120
padding-left: 0.375rem;
121121
}
122-
.repl .repl-block:not(.processing) .result-as-table .repl-result:not(:empty):not(.result-vertical) {
123-
padding: 0.625em 1.25em 0;
124-
}
125122
.repl-prompt-right-elements {
126123
padding-right: 0.375rem;
127124
}

0 commit comments

Comments
 (0)