0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-30 15:31:28 -05:00
forgejo/web_src/css
0ko 0858a879e5 Prevent vertical stretching of the switch ()
Followup to https://codeberg.org/forgejo/forgejo/pulls/6459 and https://codeberg.org/forgejo/forgejo/pulls/6542.

There are some edge cases where the UI would try to stretch the switch. Such inputs aren't really supposed to be dynamically stretched like this because it never looks good. So, I added a few rules to prevent this.

## Preview

This is the edge case with an artificially narrow screen.

|Before|After|
|-|-|
|![](/attachments/343d395c-54dd-4d86-a402-0c6b6a06237a)|![](/attachments/26b072a3-4056-4b1a-a08f-e903160609d9)|

No visual changes are expected outside of such edge case.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6543
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
2025-01-13 08:28:30 +00:00
..
chroma [Port] gitea#30014: Various code view improvements 2024-03-28 16:43:14 +01:00
codemirror Remove EasyMDE focus outline on text () 2023-06-18 04:10:07 +00:00
editor Remove tab key handling in markdown editor, add toolbar buttons instead, re () 2024-06-30 13:03:32 +00:00
features ui: improve commit graph layout 2024-09-17 17:33:00 +02:00
markup Fix margin above headline in rendered org-mode () 2024-06-11 03:34:21 +00:00
modules Prevent vertical stretching of the switch () 2025-01-13 08:28:30 +00:00
repo Fix minor misalignment () 2025-01-13 08:27:42 +00:00
shared Forbid deprecated break-word in CSS () 2024-05-12 20:03:10 +02:00
standalone Add toasts to UI () 2023-06-27 02:45:24 +00:00
themes ui: simplify main-attribute labels 2024-12-08 17:30:52 +05:00
actions.css Add support for workflow_dispatch () 2024-06-28 05:17:11 +00:00
admin.css User details page () 2023-08-31 11:21:18 +02:00
base.css New repo: Clean up and improve CSS 2024-12-28 22:31:12 +01:00
dashboard.css fix(ui): prevent uppercase in header of dashboard context selector 2024-08-04 16:10:15 +05:00
explore.css [Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally 2024-03-28 16:43:09 +01:00
font_i18n.css Fix @font-face overrides () 2023-05-24 01:48:51 +00:00
form.css Rework user profile settings 2024-12-30 16:42:58 +01:00
helpers.css Merge pull request 'Replace gt-word-break with tw-break-anywhere' () from 0ko/forgejo:ui-replace-gt-word-break into forgejo 2024-06-11 10:39:03 +00:00
home.css [BRANDING] Add Forgejo light, dark, and auto themes 2024-02-05 16:02:13 +01:00
index.css ui: switch redesign () 2025-01-05 18:46:47 +00:00
install.css UI improvements to optional sections in installation page () 2024-06-07 17:57:54 +00:00
org.css Remove unneccessary uses of word-break: break-all () 2024-07-22 15:50:57 +02:00
repo.css Merge pull request 'Cosmetic changes and fixes around repo homepage' () from 0ko/forgejo:ui-repo-meta-2 into forgejo 2024-12-29 14:46:34 +00:00
review.css fix(ui): put buttons in a single row on mobile 2024-11-25 18:43:09 +05:00
user.css Rework user profile settings 2024-12-30 16:42:58 +01:00