Skip to content

Commit

Permalink
[BUGFIX] show more-link in newsSimpleList elem.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed Jun 8, 2018
1 parent 1b4d57a commit da0767a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Resources/Private/Extensions/News/Partials/List/SimpleList.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ <h3>{newsItem.title}</h3>
</f:else>
</f:if>
</div>
<div class="news-simple-list__more-link">
<n:link newsItem="{newsItem}" settings="{settings}" class="more" title="{f:translate(key:'news.more-link.linktext', extensionName:'Theme_t3kit')}{newsItem.title}">
<f:translate key="more-link"/>
</n:link>
</div>
</div>
<div class="news-simple-list__more-link">
<n:link newsItem="{newsItem}" settings="{settings}" class="more" title="{f:translate(key:'news.more-link.linktext', extensionName:'Theme_t3kit')}{newsItem.title}">
<f:translate key="more-link"/>
</n:link>
</div>
</article>
</f:section>
12 changes: 10 additions & 2 deletions felayout_t3kit/dev/styles/main/plugins/news/newsSimpleList.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@
.news-simple-list__text {
overflow: hidden;
position: relative;
padding: 15px;
padding: 15px 15px 0;
height: auto;
}

.news-simple-list__more-link {
padding: 0 15px 15px;
}

.news-simple-list__header h3 {
font-size: 22px;
}
Expand All @@ -32,11 +36,15 @@
}

.news-simple-list__text {
height: 200px;
height: 168px;
padding-left: 0;
padding-top: 20px;
padding-right: 30px;
}

.news-simple-list__more-link {
padding: 0;
}
}

@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
Expand Down

0 comments on commit da0767a

Please sign in to comment.