mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-03 02:33:01 +08:00
Fix the truncate and alignment problem for some admin tables (#26042)
Some "text truncate email" code were just copied&pasted, they are not suitable for most admin tables. For the table layouts, some "max-width" helpers could be very helpful. At least, we can get rid of the confusing "email" CSS class.   
This commit is contained in:
@ -26,10 +26,6 @@
|
||||
margin: 12px -1rem -1rem;
|
||||
}
|
||||
|
||||
.admin.user table.table .email {
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.admin dl.admin-dl-horizontal {
|
||||
padding: 1em;
|
||||
margin: 0;
|
||||
|
@ -52,6 +52,7 @@ Gitea's private styles use `g-` prefix.
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.gt-max-width-12rem { max-width: 12rem !important; }
|
||||
.gt-max-width-24rem { max-width: 24rem !important; }
|
||||
|
||||
/* below class names match Tailwind CSS */
|
||||
|
Reference in New Issue
Block a user