-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Simplify helper CSS classes and avoid abuse #26728
Conversation
Hmm I think I disagree here, we should not take away basic options like |
Please show a real case about why to keep the |
Don't have one in mind and I agree |
White-space should be controlled via |
Yup, if it happens, we can invite the |
What do you think about merging this PR and invite some necessary helpers back in the future (if necessary)? |
* upstream/main: Move `modules/mirror` to `services` (go-gitea#26737) [skip ci] Updated translations via Crowdin Fix template bugs in recently_pushed_new_branches.tmpl (go-gitea#26744) Fix incorrect "tabindex" attributes (go-gitea#26733) Simplify helper CSS classes and avoid abuse (go-gitea#26728) Remove fomantic loader module (go-gitea#26670) Fix link in mirror docs (go-gitea#26719) Add `eslint-plugin-vue-scoped-css` (go-gitea#26720) Fixed text overflow in dropdown menu (go-gitea#26694) Make web context initialize correctly for different cases (go-gitea#26726) Remove incorrect CSS helper classes (go-gitea#26712) Focus editor on "Write" tab click (go-gitea#26714)
Removed CSS helper classes (some of them are not useful while some of them are abused often)
gt-db
: in most cases it could be replaced bygt-df
and the flex layout should be encouraged. Other cases: either it does need thegt-df
(eg: by usingdiv
directly) or it is an abuse (eg: the warning message in a form)gt-di
: it doesn't seem useful, or it could be replaced bygt-dib
in most cases.gt-dif
: not useful, it could be replaced byflex-text-inline
orgt-df
gt-js
: never used<i class="icon gt-df gt-ac gt-jc">
could be written as<i class="icon">
Some UI samples
Admin Notice
Admin Stacktrace
Org Home
Org Team Repo
Release List
User Setting Application Token Scope