diff --git a/front_end/stylesheets/application.scss b/front_end/stylesheets/application.scss index f3b16e5..9dd6be1 100644 --- a/front_end/stylesheets/application.scss +++ b/front_end/stylesheets/application.scss @@ -15,3 +15,4 @@ $govuk-image-url-function: frontend-image-url; @import "./search.scss"; @import "./inset_text.scss"; @import "./filters.scss"; +@import "./helpers.scss"; diff --git a/front_end/stylesheets/filters.scss b/front_end/stylesheets/filters.scss index 3f10656..5531fad 100644 --- a/front_end/stylesheets/filters.scss +++ b/front_end/stylesheets/filters.scss @@ -1,13 +1,3 @@ -.orp-max-height-250 { - max-height: 250px; - overflow: scroll; -} - -.orp-space-between { - display: flex; - justify-content: space-between; -} - .orp-applied-filters-container { background-color: govuk-colour("light-grey"); @include govuk-responsive-padding(2); diff --git a/front_end/stylesheets/helpers.scss b/front_end/stylesheets/helpers.scss new file mode 100644 index 0000000..a0c3189 --- /dev/null +++ b/front_end/stylesheets/helpers.scss @@ -0,0 +1,17 @@ +.orp-\!-no-text-wrap { + white-space: nowrap; +} + +.orp-max-height-250 { + max-height: 250px; + overflow: scroll; +} + +.orp-flex { + display: flex; + align-items: center; +} + +.orp-flex--space-between { + justify-content: space-between; +} diff --git a/orp/orp_search/templates/orp.html b/orp/orp_search/templates/orp.html index e3bb61a..b465f98 100644 --- a/orp/orp_search/templates/orp.html +++ b/orp/orp_search/templates/orp.html @@ -188,7 +188,7 @@
4,123 documents