aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--_includes/jekyll-theme/sidebar.html2
-rw-r--r--assets/css/jekyll-theme/posts.css5
2 files changed, 4 insertions, 3 deletions
diff --git a/_includes/jekyll-theme/sidebar.html b/_includes/jekyll-theme/sidebar.html
index 89d660d..2ffe91b 100644
--- a/_includes/jekyll-theme/sidebar.html
+++ b/_includes/jekyll-theme/sidebar.html
@@ -1,5 +1,5 @@
{% unless site.settings.sidebar.hide or page.sidebar.hide %}
-<div class="row sidebar">
+<div class="row">
{% include jekyll-theme/sidebar/latest-posts.html %}
{% include custom-sidebar.html %}
{% include jekyll-theme/sidebar/about.html %}
diff --git a/assets/css/jekyll-theme/posts.css b/assets/css/jekyll-theme/posts.css
index 933dfa7..60b4715 100644
--- a/assets/css/jekyll-theme/posts.css
+++ b/assets/css/jekyll-theme/posts.css
@@ -14,10 +14,11 @@
margin-right: .5em;
}
-.sidebar .post-header {
+/* On the sidebar, don't shrink the date part, shrink the header. */
+.list-group-item .post-header {
flex-wrap: nowrap;
}
-.sidebar .post-date {
+.list-group-item .post-date {
flex-shrink: 0;
}