mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Replace #26761 It's better to keep children elements simple, and let parent containers layout the necessary padding/margin. The old `not(:last-child)` and `.flex-item + .flex-item` are not easy to maintain (for example, what if the developer would like to use a "tiny height" item?) The old approach also makes some UI look strange because the first item doesn't have proper padding-top. In this PR, we just simply use `.flex-item { padding: ... }`: * Developers could manually set the item height they want easily * It's easier to make it work with various containers -- with padding (`ui segment`) and without padding (`div`) And added more samples/examples. ![image](https://github.com/go-gitea/gitea/assets/2114189/719ea712-0241-4426-b67f-5723993c4ed7) Co-authored-by: Giteabot <teabot@gitea.io> |
1 year ago | |
---|---|---|
.. | ||
chroma | 2 years ago | |
codemirror | 2 years ago | |
editor | 1 year ago | |
features | 1 year ago | |
markup | 1 year ago | |
modules | 1 year ago | |
repo | 1 year ago | |
shared | 1 year ago | |
standalone | 2 years ago | |
themes | 1 year ago | |
actions.css | 2 years ago | |
admin.css | 2 years ago | |
base.css | 1 year ago | |
dashboard.css | 1 year ago | |
explore.css | 2 years ago | |
font_i18n.css | 2 years ago | |
form.css | 1 year ago | |
helpers.css | 1 year ago | |
home.css | 2 years ago | |
index.css | 2 years ago | |
install.css | 2 years ago | |
org.css | 1 year ago | |
repo.css | 1 year ago | |
review.css | 1 year ago | |
user.css | 1 year ago |