Skip to content

Commit

Permalink
Merge pull request #284 from City-of-Helsinki/UHF-9739_adjustments
Browse files Browse the repository at this point in the history
UHF-9739: News update admin user interface improvements
  • Loading branch information
khalima authored May 24, 2024
2 parents 33a2170 + 878f7ff commit d2e146b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/scss/06_components/forms/__index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import 'character-counter';
@import 'dropbutton';
@import 'form-items';
@import 'linkit';
@import 'news-update';
5 changes: 5 additions & 0 deletions src/scss/06_components/forms/_linkit.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Without width the input element doesn't scale on smaller screens.
.js input.form-linkit-autocomplete {
max-width: 500px;
width: 100%;
}
7 changes: 7 additions & 0 deletions src/scss/06_components/forms/_news-update.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.field--name-field-news-item-updating-news {
.form-element--type-text,
.form-element.text-full {
max-width: 500px;
width: 100%;
}
}

0 comments on commit d2e146b

Please sign in to comment.