Skip to content

Commit

Permalink
web-wallet: Fix button hover in Dashboard Menu
Browse files Browse the repository at this point in the history
Resolves #2999
  • Loading branch information
nortonandreev committed Nov 18, 2024
1 parent 2e875ad commit ad859d8
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 46 deletions.
2 changes: 2 additions & 0 deletions web-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Suggested words in the Mnemonic (Authenticate) are accessible using Tab [#2879]
- Enhance Allocate flow on full amount allocation [#2938]
- Broken link in the stake warning [#2990]
- Fix button hover style in Dashboard Navigation Menu [#2999]
- Fix Dashboard navigation menu padding [#3000]

## [0.7.0] - 2024-11-11
Expand Down Expand Up @@ -345,6 +346,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#2932]: https://github.com/dusk-network/rusk/issues/2932
[#2938]: https://github.com/dusk-network/rusk/issues/2938
[#2990]: https://github.com/dusk-network/rusk/issues/2990
[#2999]: https://github.com/dusk-network/rusk/issues/2999
[#3000]: https://github.com/dusk-network/rusk/issues/3000
[#3006]: https://github.com/dusk-network/rusk/issues/3006

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
align-items: center;
justify-content: space-between;
padding: 0.5rem 0;
color: var(--on-surface-color) !important;
&:first-child {
padding-top: 0;
Expand All @@ -47,18 +48,20 @@
&:last-child {
padding-bottom: 0;
}
&:hover {
color: var(--anchor-color-on-surface) !important;
}
}
&__item-label {
color: var(--on-surface-color);
font-size: 1.125rem;
font-style: normal;
font-weight: 500;
line-height: 1.6875rem;
}
&__item-icons {
color: var(--on-surface-color);
display: flex;
flex-direction: row;
gap: 0.625rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ exports[`DashboardNav > renders the DashboardNav component 1`] = `
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Something
</span>
Expand All @@ -35,7 +35,7 @@ exports[`DashboardNav > renders the DashboardNav component 1`] = `
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Send
</span>
Expand All @@ -50,13 +50,13 @@ exports[`DashboardNav > renders the DashboardNav component 1`] = `
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Receive
</span>
<span
class="dashboard-nav__item-icons svelte-16m2vzj"
class="dashboard-nav__item-icons svelte-1ew7ffq"
>
<svg
Expand All @@ -80,13 +80,13 @@ exports[`DashboardNav > renders the DashboardNav component 1`] = `
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Stake
</span>
<span
class="dashboard-nav__item-icons svelte-16m2vzj"
class="dashboard-nav__item-icons svelte-1ew7ffq"
>
<svg
Expand Down Expand Up @@ -150,7 +150,7 @@ exports[`DashboardNav > should display icons if the item's icon array is present
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Something
</span>
Expand All @@ -165,7 +165,7 @@ exports[`DashboardNav > should display icons if the item's icon array is present
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Send
</span>
Expand All @@ -180,13 +180,13 @@ exports[`DashboardNav > should display icons if the item's icon array is present
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Receive
</span>
<span
class="dashboard-nav__item-icons svelte-16m2vzj"
class="dashboard-nav__item-icons svelte-1ew7ffq"
>
<svg
Expand All @@ -210,13 +210,13 @@ exports[`DashboardNav > should display icons if the item's icon array is present
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Stake
</span>
<span
class="dashboard-nav__item-icons svelte-16m2vzj"
class="dashboard-nav__item-icons svelte-1ew7ffq"
>
<svg
Expand Down Expand Up @@ -280,7 +280,7 @@ exports[`DashboardNav > should not display icons if the item's icon array is emp
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Something
</span>
Expand All @@ -295,7 +295,7 @@ exports[`DashboardNav > should not display icons if the item's icon array is emp
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Send
</span>
Expand All @@ -310,13 +310,13 @@ exports[`DashboardNav > should not display icons if the item's icon array is emp
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Receive
</span>
<span
class="dashboard-nav__item-icons svelte-16m2vzj"
class="dashboard-nav__item-icons svelte-1ew7ffq"
>
<svg
Expand All @@ -340,13 +340,13 @@ exports[`DashboardNav > should not display icons if the item's icon array is emp
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Stake
</span>
<span
class="dashboard-nav__item-icons svelte-16m2vzj"
class="dashboard-nav__item-icons svelte-1ew7ffq"
>
<svg
Expand Down Expand Up @@ -410,7 +410,7 @@ exports[`DashboardNav > should not display icons if the item's icons array is un
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Something
</span>
Expand All @@ -425,7 +425,7 @@ exports[`DashboardNav > should not display icons if the item's icons array is un
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Send
</span>
Expand All @@ -440,13 +440,13 @@ exports[`DashboardNav > should not display icons if the item's icons array is un
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Receive
</span>
<span
class="dashboard-nav__item-icons svelte-16m2vzj"
class="dashboard-nav__item-icons svelte-1ew7ffq"
>
<svg
Expand All @@ -470,13 +470,13 @@ exports[`DashboardNav > should not display icons if the item's icons array is un
tabindex="0"
>
<span
class="dashboard-nav__item-label svelte-16m2vzj"
class="dashboard-nav__item-label svelte-1ew7ffq"
>
Stake
</span>
<span
class="dashboard-nav__item-icons svelte-16m2vzj"
class="dashboard-nav__item-icons svelte-1ew7ffq"
>
<svg
Expand Down
Loading

0 comments on commit ad859d8

Please sign in to comment.