mirror of
1
Fork 0
forgejo/web_src/less
Gusted 3725fa28cc
Improve UI on mobile (#19546)
Start making the mobile experience not painful and be actually usable. This contains a few smaller changes to enhance this experience.

- Submit buttons on the review forms aren't columns anymore and are now allowed to be displayed on one row.
- The label/milestone & New Issue buttons were given each own row even tough, there's enough place to do it one the same row. This commit fixes that.
- The issues+Pull tab on repo's has a third item besides the label/milestone & New Issue buttons, the search bar. On desktop there's enough place to do this on one row, for mobile it isn't, currently it was using for each item a new row. This commits fixes that by only giving the searchbar a new row and have the other two buttons on the same row.
- The notification table will now be show a scrollbar instead of overflow.
- The repo buttons(Watch, Star, Fork) on mobile were showing quite big and the SVG wasn't even displayed on the same line, if the count of those numbers were too high it would even overflow. This commit removes the SVG, as there isn't any place to show them on the same row and allows them to have a new row if the counts of those buttons are high.
- The admin page can show you a lot of interesting information, on mobile the System Status + Configuration weren't properly displayed as the margin's were too high. This commit fixes that by reducing the margin to a number that makes sense on mobile.
- Fixes to not overflow the tables but instead force them to be scrollable.
- When viewing a issue or pull request, the comments aren't full-width but instead 80% and aligned to right, on mobile this is a annoyance as there isn't much width to begin with. This commits fixes that by forcing full-width and removing the avatars on the left side and instead including them inline in the comment header.
2022-05-01 18:11:21 +02:00
..
chroma C preprocessor colors improvement (#18671) 2022-02-09 20:02:06 +00:00
code Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
codemirror Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
features Feature: show issue assignee on project board (#15232) 2022-03-09 00:42:28 +08:00
markup Disallow selecting the text of buttons (#19330) 2022-04-14 16:57:19 +08:00
shared Issue list alignment tweaks (#15483) 2021-05-05 12:57:59 -04:00
standalone Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
themes Various Mermaid improvements (#18776) 2022-02-16 11:28:29 +08:00
_admin.less Improve UI on mobile (#19546) 2022-05-01 18:11:21 +02:00
_base.less By default force vertical tabs on mobile (#19486) 2022-04-26 16:31:58 -04:00
_dashboard.less Fix overflow label in mobile view (#17020) 2021-09-12 13:40:20 +02:00
_editor.less Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
_explore.less Ensure popup text is aligned left (#17327) 2021-10-17 11:14:32 +01:00
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 2021-12-13 00:04:18 +01:00
_form.less Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
_home.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00
_install.less Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
_organization.less Add RSS Feed buttons to Repo, User and Org pages (#19370) 2022-04-24 22:03:39 +02:00
_repository.less Improve UI on mobile (#19546) 2022-05-01 18:11:21 +02:00
_review.less Disallow selecting the text of buttons (#19330) 2022-04-14 16:57:19 +08:00
_svg.less Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
_tribute.less Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
_user.less Improve UI on mobile (#19546) 2022-05-01 18:11:21 +02:00
animations.less Various Mermaid improvements (#18776) 2022-02-16 11:28:29 +08:00
helpers.less Fix Pull Request comment filename word breaks (#19535) 2022-04-29 12:30:54 +03:00
index.less Various Mermaid improvements (#18776) 2022-02-16 11:28:29 +08:00
misc.css Raw file view tweaks (#15520) 2021-04-22 23:43:44 +02:00
variables.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00