forked from gitea/gitea
1
0
Fork 0
gitea/web_src/css
Giteabot 79c17d8b6a
Absolute positioned checkboxes overlay floated elements (#26870) (#27366)
Backport #26870 by @rafh

Currently, checkboxes are positioned as absolute. This positioning
causes the input to overlay an element that has been floated within the
editor. Floated elements are useful if you want your text to wrap around
this element. This PR fixes the overlaying of checkboxes by removing the
absolute positioning, updating the `ul` padding, and
displaying`.task-list-item` `flex` to ensure inputs and the associated
label are on the same line.

Screenshots:

Before:
<img width="762" alt="Screenshot 2023-09-01 at 3 40 59 PM"
src="https://github.com/go-gitea/gitea/assets/6152817/570247c7-7f5c-4697-bfc9-ad4655e37991">

After:
<img width="762" alt="Screenshot 2023-09-01 at 3 42 20 PM"
src="https://github.com/go-gitea/gitea/assets/6152817/db53df45-1294-4eee-84c0-b21ac4fdf805">

Co-authored-by: Rafael Heard <rafael.heard@gmail.com>
Co-authored-by: rafh <rafaelheard@gmail.com>
2023-09-30 17:10:48 +02:00
..
chroma Chroma color tweaks (#26978) 2023-09-08 11:03:01 -05:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Fix z-index on markdown completion (#27237) (#27239) 2023-09-24 23:41:37 +00:00
features Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
markup Absolute positioned checkboxes overlay floated elements (#26870) (#27366) 2023-09-30 17:10:48 +02:00
modules Improve issue history dialog and make poster can delete their own history (#27323) (#27327) 2023-09-28 09:46:46 +00:00
repo Display archived labels specially when listing labels (#26820) 2023-09-18 04:54:05 +00:00
shared Improve issue list layout (#26983) 2023-09-09 20:23:57 +08:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Use mask-based fade-out effect for `.new-menu` (#27181) (#27243) 2023-09-25 07:52:41 +00:00
actions.css fix issues on action runners page (#27226) (#27233) 2023-09-24 18:43:12 +00:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Improve branch list UI (#27319) (#27324) 2023-09-28 06:14:34 +00:00
dashboard.css Dashboard context dropdown position fix on landing page in mobile view. (#27047) 2023-09-13 15:15:36 +08:00
explore.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
font_i18n.css Fix `@font-face` overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Unify `border-radius` behavior (#26770) 2023-08-28 19:43:59 +00:00
helpers.css Remove some transition related code (#26755) 2023-08-28 01:26:23 +00:00
home.css avoid hard-coding height in language dropdown menu (#25986) 2023-07-19 23:30:57 +02:00
index.css Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Remove incorrect CSS helper classes (#26712) 2023-08-25 06:47:59 +00:00
repo.css Fix review UI (#27322) (#27331) 2023-09-28 13:27:13 +00:00
review.css Unify `border-radius` behavior (#26770) 2023-08-28 19:43:59 +00:00
user.css Unify `border-radius` behavior (#26770) 2023-08-28 19:43:59 +00:00