Skip to content

Commit

Permalink
Add CSS styles for the spelling suggestions block
Browse files Browse the repository at this point in the history
Server-side we add a CSS class that if there are any suggestions on
user query, we show the suggestions block.
By default it is hidden.
  • Loading branch information
kr8n3r committed Sep 14, 2019
1 parent 46e6b4b commit beb6fdc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/assets/stylesheets/finder_frontend.scss
Expand Up @@ -305,3 +305,11 @@
color: govuk-colour("white");
}
}

//show spelling suggestion container only if suggeations are availble
.spelling-suggestions {
display: none;
&--visible {
display:block;
}
}

0 comments on commit beb6fdc

Please sign in to comment.