Skip to content

Commit f2f0b30

Browse files
committed
correct whitespace and padding to prevent constraint overflow (DLC-1132)
1 parent 62aae22 commit f2f0b30

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/assets/stylesheets/stylesheets/base_layout/_facets.scss

+3
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
color: $body-color;
4242
}
4343
}
44+
.filter-value {
45+
white-space: normal;
46+
}
4447
.top-panel-heading {
4548
padding-left: 0;
4649
padding-top: 0;

app/components/blacklight/constraint_layout_component.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<span class="btn-group applied-filter constraint <%= @classes %>">
1+
<span class="btn-group applied-filter constraint px-3 <%= @classes %>">
22
<span class="constraint-value btn btn-light">
33
<% if @label.present? %>
44
<span class="filter-name"><%= @label %></span>

0 commit comments

Comments
 (0)