Skip to content

Commit ed5acfa

Browse files
committed
Update secondary tab new design
1 parent f5ba758 commit ed5acfa

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

app/src/components/NavigationTab/styles.module.css

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,24 @@
135135
}
136136
}
137137

138+
139+
&.secondary {
140+
border-right: var(--border-width) solid var(--border-color);
141+
border-top-color: transparent;
142+
143+
.children-wrapper {
144+
padding: var(--go-ui-spacing-md) var(--go-ui-spacing-lg);
145+
}
146+
147+
&.active {
148+
color: var(--go-ui-color-primary-red);
149+
}
150+
151+
&:last-child {
152+
border-color: transparent;
153+
}
154+
}
155+
138156
&.primary {
139157
position: relative;
140158
font-size: var(--go-ui-font-size-lg);
@@ -176,16 +194,6 @@
176194
}
177195
}
178196

179-
&.secondary {
180-
border-radius: var(--go-ui-border-radius-full);
181-
padding: var(--go-ui-spacing-sm) var(--go-ui-spacing-xl);
182-
183-
&.active {
184-
background-color: var(--go-ui-color-primary-red);
185-
color: var(--go-ui-color-white);
186-
}
187-
}
188-
189197
&.tertiary {
190198
&:not(.disabled) {
191199
&:hover {

packages/ui/src/components/NavigationTabList/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323

2424
.content {
2525
display: flex;
26-
border-radius: var(--go-ui-border-radius-full);
27-
background-color: var(--go-ui-color-element-background);
26+
padding: 0 0 2px 0;
27+
border-bottom: var(--go-ui-width-separator-thin) solid var(--go-ui-color-separator);
2828
}
2929

3030
.start-dummy-content,

0 commit comments

Comments
 (0)