Skip to content

Commit 536fea2

Browse files
Merge pull request #108 from topcoder-platform/ux-fixes
Ux fixes -> dev
2 parents bc59fd3 + a7789ef commit 536fea2

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

src/lib/components/LinksMenu.module.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
font-weight: 500;
2626
font-size: 14px;
2727
line-height: 22px;
28-
text-transform: uppercase;
2928

3029
&:hover, &:global(.hover) {
3130
color: #FFFFFF;
@@ -40,8 +39,12 @@
4039
font-family: 'Barlow Condensed';
4140
font-size: 20px;
4241
line-height: 24px;
42+
text-transform: uppercase;
4343

44-
&:hover, &:global(.hover), &:global(.active) {
44+
&:hover, &:global(.hover) {
45+
color: #fff;
46+
}
47+
&:global(.active) {
4548
color: #82EACF;
4649
}
4750
}

src/lib/components/tool-selector/ToolMenu.module.scss

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,6 @@
102102
margin-top: 16px;
103103
}
104104

105-
a {
106-
line-height: 22px;
107-
font: inherit;
108-
margin-bottom: -4px;
109-
margin-top: 4px;
110-
}
111-
112105
&:global(.navButton) {
113106
display: inline-flex;
114107
font-weight: 700;
@@ -129,7 +122,7 @@
129122
border-color: #219174;
130123
}
131124

132-
a {
125+
.navItemLabel {
133126
margin-top: 0;
134127
margin-bottom: 0;
135128
}
@@ -159,9 +152,13 @@
159152
.navItemContent {
160153
display: flex;
161154
flex-direction: column;
162-
span {
163-
display: block;
164-
}
155+
}
156+
157+
.navItemLabel {
158+
display: block;
159+
line-height: 22px;
160+
margin-bottom: -4px;
161+
margin-top: 4px;
165162
}
166163

167164
.navItemDescription {

src/lib/components/tool-selector/ToolMenu.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</div>
5656
<div class={styles.navItemContent}>
5757
{#if !!navItem.label}
58-
<span>{navItem.label}</span>
58+
<span class={styles.navItemLabel}>{navItem.label}</span>
5959
{/if}
6060
{#if navItem.type !== 'cta' && navItem.description}
6161
<span class={styles.navItemDescription}>

0 commit comments

Comments
 (0)