Skip to content
This repository has been archived by the owner on May 24, 2021. It is now read-only.

Commit

Permalink
fix(style): Apply strict word-break rule only on links in tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
plutonik-a committed Feb 29, 2016
1 parent 8c2ed7a commit 61969bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/modules/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function createEpisodeInfo(tab, params) {
getSummary(params.summary) +
'<p>Dauer: ' + timeCode.fromTimeStamp(params.duration) + '</p>' +
getPublicationDate(params.publicationDate) +
'<p>' +
'<p class="info-link">' +
'Permalink:<br>' +
'<a href="' + params.permalink + '" target="_blank" title="Permalink für die Episode">' + params.permalink + '</a>' +
'</p>'
Expand Down Expand Up @@ -58,7 +58,7 @@ function createShowInfo (tab, params) {
'<h3>' + params.show.subtitle + '</h3>' +
createPosterImage(params.show.poster) +
createSubscribeButton(params) +
'<p>Link zur Show:<br>' +
'<p class="info-link">Link zur Show:<br>' +
'<a href="' + params.show.url + '" target="_blank" title="Link zur Show">' + params.show.url + '</a></p>'
);
}
Expand Down
5 changes: 5 additions & 0 deletions src/sass/modules/_info.scss
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,8 @@
vertical-align: super;
line-height: 1px;
}

// Episode and show-link paragraphs in columns
.info-link {
@extend .break-all;
}

0 comments on commit 61969bd

Please sign in to comment.