Verified Commit 99a4b850 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add style for articles without header

parent f8a6b852
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
 * Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser
 * Author URI: https://personads.me/
 *
 * Version: 2.5.2
 * Version: 2.5.3
 * Requires PHP: 8.0
 *
 * License: GNU General Public License v3.0
@@ -389,6 +389,10 @@ article:only-child {
    overflow-x: auto;
}

article:only-child:not(:has(> header)) {
  grid-template-rows: 1fr max-content;
}

article:only-child > header {
    width: 100%;
    height: 200px;