From 0f955c3616b5ebfac1896882f1208549e5bafcb0 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Fri, 19 Feb 2021 14:44:36 +0100 Subject: [PATCH] [web] Fixed some margins especially on small screens. --- web/assets/css/main.css | 6 +++--- web/layouts/docs/single.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/assets/css/main.css b/web/assets/css/main.css index 7c711c64260..6f2b5aa83d5 100644 --- a/web/assets/css/main.css +++ b/web/assets/css/main.css @@ -48,21 +48,21 @@ cite::before { @apply border-blue-200; @apply border-l-2; @apply -ml-4; - @apply px-4; + @apply pl-4; } .linux { @apply border-yellow-200; @apply border-l-2; @apply -ml-4; - @apply px-4; + @apply pl-4; } .mac { @apply border-gray-200; @apply border-l-2; @apply -ml-4; - @apply px-4; + @apply pl-4; } #btn-win.active { diff --git a/web/layouts/docs/single.html b/web/layouts/docs/single.html index b4ca6388316..b2e5322cee6 100644 --- a/web/layouts/docs/single.html +++ b/web/layouts/docs/single.html @@ -1,7 +1,7 @@ {{ define "main" }} <div class="flex-1 relative z-0 overflow-y-auto focus:outline-none"> - <div class="max-w-7xl mx-auto px-4 sm:px-6 md:px-8"> + <div class="max-w-7xl mx-auto pl-4 pr-2 sm:px-6 md:px-8"> <h1 class="text-2xl lg:text-3xl font-bold mb-3 lg:mb-5">{{ .Title }}</h1> {{ if .CurrentSection.Params.os_selector }} -- GitLab