George Cushen 4 жил өмнө
parent
commit
171648c808

+ 7 - 1
wowchemy/assets/scss/wowchemy/layouts/_listing.scss

@@ -28,7 +28,7 @@
  *  Compact (stream) list view
  **************************************************/
 
-.media.stream-item {
+.media.stream-item:not(:last-child) {
   margin-bottom: 2rem;
 }
 
@@ -58,3 +58,9 @@
     max-width: 80px;
   }
 }
+
+// TODO: refactor HTML to prevent duplicate nested `article-metadata` class from
+//  li_compact.html > {{partial "page_metadata" ... }}
+.stream-meta.article-metadata .article-metadata {
+  margin-bottom: 0;
+}

+ 2 - 2
wowchemy/layouts/partials/widgets/about.html

@@ -81,7 +81,7 @@
       {{ with $person.interests }}
       <div class="col-md-5">
         <div class="section-subheading">{{ i18n "interests" | markdownify }}</div>
-        <ul class="ul-interests">
+        <ul class="ul-interests mb-0">
           {{ range . }}
           <li>{{ . | markdownify | emojify }}</li>
           {{ end }}
@@ -92,7 +92,7 @@
       {{ with $person.education }}
       <div class="col-md-7">
         <div class="section-subheading">{{ i18n "education" | markdownify }}</div>
-        <ul class="ul-edu fa-ul">
+        <ul class="ul-edu fa-ul mb-0">
           {{ range .courses }}
           <li>
             <i class="fa-li fas fa-graduation-cap"></i>

+ 1 - 1
wowchemy/layouts/partials/widgets/portfolio.html

@@ -44,7 +44,7 @@
     {{ end }}
   {{ end }}
 
-  <div class="{{ if or $st.Params.content.filter_button (eq $st.Params.design.view 3) }}isotope projects-container{{end}} {{if eq $st.Params.design.view 3}}js-layout-masonry{{else}}row js-layout-row{{end}} {{ if eq $st.Params.design.view 5 }}project-showcase mt-5{{end}}">
+  <div class="{{ if or $st.Params.content.filter_button (eq $st.Params.design.view 3) }}isotope projects-container{{end}} {{if eq $st.Params.design.view 3}}js-layout-masonry{{else}}row js-layout-row{{end}} {{ if eq $st.Params.design.view 5 }}project-showcase{{end}}">
 
     {{ $query := "" }}
     {{ if $st.Params.content.filters.tags }}