Skip to content

Commit

Permalink
Merge pull request #1710 from INN/1509-apply-overflow-wrap-to-search-…
Browse files Browse the repository at this point in the history
…results-links

Added 'overflow-wrap: break-word' to search results url
  • Loading branch information
Josh Darby committed May 15, 2019
2 parents d0db10d + 49150a1 commit 16c2721
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 6 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
though this project doesn't succeed in adhering to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Largo 0.6.4](https://github.com/INN/largo/compare/v0.6.3...v0.6.4)

## Fixes and minor improvements
- Removed separator span on search results page to be able to put the search result url on a new line instead of next to the date. Also added `overflow-wrap: breakword;` to result url
to make sure it doesn't overflow from results container. [Pull request #1710](https://github.com/INN/largo/pull/1710) for [issue #1509](https://github.com/INN/largo/issues/1509).

## [Largo 0.6.3](https://github.com/INN/largo/compare/v0.6.2...v0.6.3)

### Fixes and minor improvements
Expand Down
4 changes: 3 additions & 1 deletion css/editor-style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/editor-style.min.css

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/style.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion homepages/assets/css/single.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions less/inc/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
.date-link a,
.date-link {
color: @gray;
display: block;
overflow-wrap: break-word;
}
}
.search-results #content .form-search {
Expand Down
1 change: 0 additions & 1 deletion partials/content-search.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

<small class="date-link">
<span class="date"><?php largo_time(); ?></span>
<span class="sep">|</span>
<a href="<?php the_permalink(); ?>" title="<?php the_permalink(); ?>" rel=""><?php the_permalink(); ?></a>
</small>

Expand Down

0 comments on commit 16c2721

Please sign in to comment.