-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin tip cover the dropdown icon #32991
Comments
Try to make it smaller: diff --git a/web_src/css/modules/navbar.css b/web_src/css/modules/navbar.css
index b5bc95b058..b60d25977d 100644
--- a/web_src/css/modules/navbar.css
+++ b/web_src/css/modules/navbar.css
@@ -103,11 +103,11 @@
#navbar .ui.dropdown .navbar-profile-admin {
display: block;
position: absolute;
- font-size: 10px;
+ font-size: 9px;
font-weight: var(--font-weight-bold);
color: var(--color-nav-bg);
background: var(--color-primary);
- padding: 2px 4px;
+ padding: 2px 3px;
border-radius: 10px;
top: -1px;
left: 18px; |
Maybe an icon or a border is better? |
Personally, I prefer using an icon like sparkle-fill or sparkles-fill or something else, not a const word. Of cause, it is acceptable adjusting the font size. |
I didn't find a suitable icon to show that "the current user is an admin", if the icon's meaning is not clear, it would mislead & confuse users. |
Description
From : #32927
In my browser:
In the PR's description:
It seems that the admin tip cover the dropdown icon
Gitea Version
latest
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
build
Database
None
The text was updated successfully, but these errors were encountered: