Skip to content

Commit a002376

Browse files
dxllivcursoragent
andcommitted
fix: restore tab typography, trim header height slightly
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 64dec33 commit a002376

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

src/runtime/components/Window/WindowDebug.vue

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ defineProps<{
3131
.p-tabs {
3232
:deep(.p-tablist) {
3333
background: transparent !important;
34-
margin: 0 0 8px;
34+
margin: calc(var(--owd-card-body-padding) * -1 + 1px)
35+
calc(var(--owd-card-body-padding) * -1)
36+
0
37+
calc(var(--owd-card-body-padding) * -1);
3538
padding: 0;
3639
border: 0;
3740
}
@@ -42,7 +45,6 @@ defineProps<{
4245
}
4346
4447
:deep(.p-tablist-tab-list) {
45-
gap: 4px;
4648
border: 0;
4749
}
4850
@@ -51,17 +53,14 @@ defineProps<{
5153
border: 0 !important;
5254
border-radius: 0;
5355
margin: 0;
54-
padding: 4px 10px;
55-
min-height: 0;
56-
font-size: 12px;
56+
padding: 0.5rem 1.25rem;
5757
font-weight: 600;
58-
letter-spacing: 0.02em;
59-
color: rgba(200, 212, 228, 0.5);
58+
color: rgba(200, 212, 228, 0.55);
6059
box-shadow: none !important;
6160
6261
&:hover {
6362
background: transparent !important;
64-
color: rgba(232, 238, 246, 0.85);
63+
color: rgba(232, 238, 246, 0.9);
6564
}
6665
6766
&.p-tab-active,
@@ -85,10 +84,15 @@ defineProps<{
8584
:deep(.p-tabpanels),
8685
:deep(.p-tabpanel) {
8786
background: transparent;
88-
padding: 0;
87+
}
88+
89+
:deep(.p-tabpanels) {
90+
padding: var(--owd-tabs-tabpanel-padding, 1.25rem 0 0 0);
8991
}
9092
9193
:deep(.p-tabpanel) {
94+
padding: 0;
95+
9296
ul {
9397
margin: 0;
9498
padding: 0;

0 commit comments

Comments
 (0)