fix(layout): title overflow in widget and archive

This commit is contained in:
ppoffice 2019-08-03 14:36:45 -04:00
parent 04ca11b7cd
commit 0599e36923
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
<div class="media-content"> <div class="media-content">
<div class="content"> <div class="content">
<time class="has-text-grey is-size-7 is-block is-uppercase" datetime="<%= date_xml(post.date) %>"><%= date(post.date) %></time> <time class="has-text-grey is-size-7 is-block is-uppercase" datetime="<%= date_xml(post.date) %>"><%= date(post.date) %></time>
<a href="<%- url_for((post.link?post.link:post.path)) %>" class="has-link-black-ter is-size-6"><%= post.title %></a> <a href="<%- url_for((post.link?post.link:post.path)) %>" class="title has-link-black-ter is-size-6 has-text-weight-normal"><%= post.title %></a>
<div class="level article-meta is-mobile"> <div class="level article-meta is-mobile">
<div class="level-left"> <div class="level-left">
<% if (post.categories && post.categories.length) { %> <% if (post.categories && post.categories.length) { %>

View File

@ -16,7 +16,7 @@
<div class="media-content"> <div class="media-content">
<div class="content"> <div class="content">
<div><time class="has-text-grey is-size-7 is-uppercase" datetime="<%= date_xml(post.date) %>"><%= date(post.date) %></time></div> <div><time class="has-text-grey is-size-7 is-uppercase" datetime="<%= date_xml(post.date) %>"><%= date(post.date) %></time></div>
<a href="<%- url_for((post.link?post.link:post.path)) %>" class="has-link-black-ter is-size-6"><%= post.title %></a> <a href="<%- url_for((post.link?post.link:post.path)) %>" class="title has-link-black-ter is-size-6 has-text-weight-normal"><%= post.title %></a>
<p class="is-size-7 is-uppercase"> <p class="is-size-7 is-uppercase">
<%- list_categories(post.categories, { <%- list_categories(post.categories, {
show_count: false, show_count: false,