From 96633340cd9d334865d9c4caddb89300b9a005c6 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Thu, 15 May 2025 12:33:55 +0200 Subject: [PATCH] feat: style changes for print previews --- Makefile | 2 +- theme/static_src/src/styles.css | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index aa018e0..4251cdc 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .PHONY: help bump publish -VERSION = 1.9.11 +VERSION = 1.9.12 help: @perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' diff --git a/theme/static_src/src/styles.css b/theme/static_src/src/styles.css index 8fac584..a93a4a8 100644 --- a/theme/static_src/src/styles.css +++ b/theme/static_src/src/styles.css @@ -89,15 +89,19 @@ @media print { h1 { - @apply mt-6 mb-4 text-xl; + @apply m-0 my-2 text-xl; } h2 { - @apply mt-4 mb-2 text-base; + @apply m-0 mt-2 text-base; } h3 { - @apply text-base; + @apply m-0 mt-2 text-base; + } + + h4 { + @apply m-0 text-base; } p {