Skip to content

Commit

Permalink
kiezkasse/proposals: add styling for number input widget and remove u…
Browse files Browse the repository at this point in the history
…nused template
  • Loading branch information
vellip committed Jan 14, 2025
1 parent 4b98e96 commit 6cbce70
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 17 deletions.
5 changes: 5 additions & 0 deletions changelog/8600.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Removed
- form field with addon template

### Added
- styling for widget--numberinput
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

{% include 'meinberlin_contrib/includes/form_checkbox_field.html' with field=form.right_of_use %}

{% include 'meinberlin_contrib/includes/form_field_with_addon.html' with field=form.budget after='€' %}
{% include 'meinberlin_contrib/includes/form_field.html' with field=form.budget %}

{% include 'meinberlin_contrib/includes/form_field.html' with field=form.point %}

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

{% include 'meinberlin_contrib/includes/form_checkbox_field.html' with field=form.right_of_use %}

{% include 'meinberlin_contrib/includes/form_field_with_addon.html' with field=form.budget after='€' %}
{% include 'meinberlin_contrib/includes/form_field.html' with field=form.budget %}

{% include 'meinberlin_contrib/includes/form_checkbox_field.html' with field=form.creator_contribution %}

Expand Down
6 changes: 5 additions & 1 deletion meinberlin/assets/scss/styles_user_facing/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ button {
cursor: pointer;
}

.widget--numberinput input {
@extend .form-control;
}

.errorlist {
padding-left: 0;
}
Expand Down Expand Up @@ -38,4 +42,4 @@ textarea.form-control {

:not(.panel--heavy) .form-check {
padding: 0;
}
}

0 comments on commit 6cbce70

Please sign in to comment.