Skip to content

Commit

Permalink
BDOG-217 adjust css for wide select options
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-lamed committed Jun 24, 2019
1 parent 3798b7d commit 88ef3e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/views/BobbyRulesTrendPage.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ <h1 id="search-service-header">Bobby Rules Trend</h1>
@select(
field = form("rules"),
options = allRules.map(r => (s"${r.group}:${r.artefact}:${r.range.range}", s"${r.group}:${r.artefact}:${r.range.range} ${r.reason}")),
'_class -> "bobbyrules",
'_label -> "",
'multiple -> "multiple"
)
Expand Down
4 changes: 2 additions & 2 deletions public/catalogue-frontend.css
Original file line number Diff line number Diff line change
Expand Up @@ -12079,11 +12079,11 @@ section span.other-teams-message {
font-weight: bold;
}

select {
.bobbyrules select {
width: 100%;
}

select option {
.bobbyrules select option {
overflow: hidden;
text-overflow: ellipsis;
}

0 comments on commit 88ef3e3

Please sign in to comment.