From bf6e40122719342975c4ea3ffd550cf77bd757b0 Mon Sep 17 00:00:00 2001 From: Lukas Nys Date: Sat, 2 Sep 2023 14:11:10 +0200 Subject: [PATCH] style cleanup: only apply extra padding to header on desktop (#879) --- app/styles/app.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/styles/app.css b/app/styles/app.css index 657a11f8..f84ca1fc 100644 --- a/app/styles/app.css +++ b/app/styles/app.css @@ -26,11 +26,6 @@ main a.edit-icon { background: none; } -.es-header { - padding: 0 var(--spacing-4); - justify-content: start; -} - .es-sidebar-content .table-of-contents:first-child { margin-block-start: 0; } @@ -92,6 +87,11 @@ li.toc-heading:first-child { } @media (min-width: 845px) { + .es-header { + padding: 0 var(--spacing-4); + justify-content: start; + } + .es-sidebar { padding: var(--spacing-4); background-color: var(--color-gray-200);