Skip to content

Commit

Permalink
Merge pull request #3200 from projectblacklight/hyphens-auto
Browse files Browse the repository at this point in the history
Remove obsolete mixin for hyphens-auto
  • Loading branch information
jcoyne committed Jul 16, 2024
2 parents b4145bb + 6166ddf commit d1c6d64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
with:
ruby-version: 3.2
bundler: "latest"
- name: Change permissions
run: chmod -R o-w /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/gems/3.2.0/gems
- name: Install dependencies
run: bundle install
- name: Run linter
Expand Down Expand Up @@ -82,6 +84,8 @@ jobs:
with:
bundler: "latest"
ruby-version: ${{ matrix.ruby }}
- name: Change permissions
run: chmod -R o-w /opt/hostedtoolcache/Ruby/3.2.4/x64/lib/ruby/gems/3.2.0/gems
- name: Install dependencies
run: bundle install
- name: Run tests
Expand Down
12 changes: 3 additions & 9 deletions app/assets/stylesheets/blacklight/_facets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,12 @@
}
}

@mixin hyphens-auto {
overflow-wrap: break-word;
-webkit-hyphens: auto;
-o-hyphens: auto;
hyphens: auto;
}

.facet-label {
hyphens: auto;
overflow-wrap: break-word;
padding-left: 15px;
padding-right: 1em;
text-indent: -15px;
padding-left: 15px;
@include hyphens-auto;
}

.facet-count {
Expand Down

0 comments on commit d1c6d64

Please sign in to comment.