From 875c7ac160d4de53e10a375b7c348443a30b3fb8 Mon Sep 17 00:00:00 2001 From: Beamer Date: Fri, 23 Feb 2024 19:11:24 -0800 Subject: [PATCH] Fix header --- assets/app-tailwind.css | 8 ++++++++ assets/app.css | 28 +++++++++++++++++++++------- 2 files changed, 29 insertions(+), 7 deletions(-) diff --git a/assets/app-tailwind.css b/assets/app-tailwind.css index b5c61c9567..7b47e2c620 100644 --- a/assets/app-tailwind.css +++ b/assets/app-tailwind.css @@ -1,3 +1,11 @@ @tailwind base; @tailwind components; @tailwind utilities; + +header.header { + max-width: var(--page-width) !important; + @apply twcss-px-16 !important; + .header__search { + @apply twcss-hidden !important; + } +} diff --git a/assets/app.css b/assets/app.css index e6cf235c99..f528e676a1 100644 --- a/assets/app.css +++ b/assets/app.css @@ -44,9 +44,10 @@ html, -moz-tab-size: 4; /* 3 */ -o-tab-size: 4; - tab-size: 4; + tab-size: 4; /* 3 */ - font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; + font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', + 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; /* 4 */ font-feature-settings: normal; /* 5 */ @@ -89,7 +90,7 @@ Add the correct text decoration in Chrome, Edge, and Safari. abbr:where([title]) { -webkit-text-decoration: underline dotted; - text-decoration: underline dotted; + text-decoration: underline dotted; } /* @@ -135,7 +136,8 @@ code, kbd, samp, pre { - font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; + font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, + 'Liberation Mono', 'Courier New', monospace; /* 1 */ font-feature-settings: normal; /* 2 */ @@ -376,7 +378,8 @@ textarea { 2. Set the default placeholder color to the user's configured gray 400 color. */ -input::-moz-placeholder, textarea::-moz-placeholder { +input::-moz-placeholder, +textarea::-moz-placeholder { opacity: 1; /* 1 */ color: #9ca3af; @@ -396,7 +399,7 @@ Set the default cursor for buttons. */ button, -[role="button"] { +[role='button'] { cursor: pointer; } @@ -444,7 +447,9 @@ video { display: none; } -*, ::before, ::after { +*, +::before, +::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; @@ -543,3 +548,12 @@ video { --tw-backdrop-saturate: ; --tw-backdrop-sepia: ; } + +header.header { + max-width: var(--page-width) !important; + padding-left: 4rem !important; + padding-right: 4rem !important; + .header__search { + display: none !important; + } +}