aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-04-07 17:09:25 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-04-07 17:09:25 -0400
commitb45f42c348d5b6ea25e0c320843e613d40c4db61 (patch)
treef7f920cfe4f2fe3bd70f36e094a926c9d502c674
parent8b64b8bd43f987b924d74d0ea597b7b606ca9357 (diff)
downloadJellySolutions-b45f42c348d5b6ea25e0c320843e613d40c4db61.tar.gz
JellySolutions-b45f42c348d5b6ea25e0c320843e613d40c4db61.tar.bz2
JellySolutions-b45f42c348d5b6ea25e0c320843e613d40c4db61.zip
Fix alignment of color mode toggle
-rw-r--r--ufund-ui/src/app/app.component.css6
-rw-r--r--ufund-ui/src/app/app.component.html2
2 files changed, 6 insertions, 2 deletions
diff --git a/ufund-ui/src/app/app.component.css b/ufund-ui/src/app/app.component.css
index ab1e60f..6841606 100644
--- a/ufund-ui/src/app/app.component.css
+++ b/ufund-ui/src/app/app.component.css
@@ -61,5 +61,9 @@
}
.current {
- text-decoration: underline!important;
+ text-decoration: underline !important;
+}
+
+#darkMode:hover {
+ text-decoration: none !important;
}
diff --git a/ufund-ui/src/app/app.component.html b/ufund-ui/src/app/app.component.html
index 7277682..03c6338 100644
--- a/ufund-ui/src/app/app.component.html
+++ b/ufund-ui/src/app/app.component.html
@@ -11,7 +11,7 @@
<a [class]="location.path() == '/basket' ? 'current' : ''" *ngIf="(currentUser | async)?.type === userType.HELPER" routerLink="/basket">Basket</a>
<button *ngIf="currentUser | async" (click)="logout()">Log Out</button>
<button *ngIf="!(currentUser | async)" (click)="login()">Log In</button>
- <a href="#" (click)="$event.preventDefault(); toggleColorScheme()"><span class="icon">brightness_7</span></a>
+ <a class="icon" id="darkMode" href="#" (click)="$event.preventDefault(); toggleColorScheme()">brightness_7</a>
</div>
</div>