Skip to content

Commit

Permalink
Landsgemeinde: File Upload View
Browse files Browse the repository at this point in the history
TYPE: Bugfix
LINK: OGC-1998
  • Loading branch information
BreathingFlesh authored Dec 31, 2024
1 parent ee62c7a commit 95e4fb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/onegov/form/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class UploadWidget(FileInput):
{preview}
<ul>
<ul class="upload-options">
<li>
<input type="radio" id="{name}-0" name="{name}"
value="keep" checked="">
Expand Down
8 changes: 6 additions & 2 deletions src/onegov/town6/theme/styles/forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ form {

label {

min-width: 75%;

&.error, .upload-widget.error {
color: $alert-color;
}
Expand Down Expand Up @@ -153,6 +151,12 @@ form {
}
}

.upload-options {
div input {
margin-bottom: 0;
}
}

.redactor-box {
margin-bottom: .75rem;
}
Expand Down

0 comments on commit 95e4fb1

Please sign in to comment.