Skip to content

Commit 935f5e4

Browse files
author
Lasim
committed
style: enhance button cursor styles and remove test environment display from login component
1 parent a215419 commit 935f5e4

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

services/frontend/src/assets/index.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,25 @@ body {
115115
color: var(--foreground);
116116
}
117117

118+
/* Global cursor pointer for buttons and interactive elements */
119+
button,
120+
[role="button"],
121+
[type="button"],
122+
[type="submit"],
123+
[type="reset"] {
124+
cursor: pointer;
125+
}
126+
127+
/* Ensure disabled buttons don't show pointer cursor */
128+
button:disabled,
129+
[role="button"]:disabled,
130+
[type="button"]:disabled,
131+
[type="submit"]:disabled,
132+
[type="reset"]:disabled {
133+
cursor: not-allowed;
134+
}
135+
136+
/* Specifically target elements that might be styled as buttons */
137+
a[role="button"] {
138+
cursor: pointer;
139+
}

services/frontend/src/views/Login.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,6 @@ const navigateToRegister = () => {
261261
>
262262
{{ $t('login.createAccount') }}
263263

264-
<p>Test env: {{ apiUrl }}</p>
265-
266264
</Button>
267265
</p>
268266
</CardFooter>

0 commit comments

Comments
 (0)