mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 10:18:30 +00:00
[BUG] Fix mobile UI for organisation creation
- Don't make checkpoints or radio inputs full width on a small screen,
these obviously shouldn't try to take up the whole width of a container.
- Wrap the label for organisation permission box inside a `<span
class="inline field">`, so it gets a left-margin from the `.inline.field
> :first-child` selector. This make the checkboxes and radio buttons
groups look indented from the left.
- Resolves #4361
(cherry picked from commit 610487eb83
)
This commit is contained in:
parent
be45927559
commit
0700dde04e
|
@ -34,7 +34,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="inline field" id="permission_box">
|
<div class="inline field" id="permission_box">
|
||||||
<label>{{ctx.Locale.Tr "org.settings.permission"}}</label>
|
<span class="inline field"><label>{{ctx.Locale.Tr "org.settings.permission"}}</label></span>
|
||||||
<div class="inline-grouped-list">
|
<div class="inline-grouped-list">
|
||||||
<div class="ui checkbox">
|
<div class="ui checkbox">
|
||||||
<input type="checkbox" name="repo_admin_change_team_access" checked>
|
<input type="checkbox" name="repo_admin_change_team_access" checked>
|
||||||
|
|
|
@ -466,7 +466,7 @@ textarea:focus,
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.new.org .ui.form .field input {
|
.new.org .ui.form .field input:not([type="checkbox"], [type="radio"]) {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue