Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix the incorrect header spacing across all text

Gabe Kangaseef23b7f5894
diff --git a/web/components/common/ContentHeader/ContentHeader.module.scss b/web/components/common/ContentHeader/ContentHeader.module.scss
index ede8d88ca1..edb8019d58 100644
--- a/web/components/common/ContentHeader/ContentHeader.module.scss
+++ b/web/components/common/ContentHeader/ContentHeader.module.scss
@@ -40,6 +40,7 @@
font-size: 1.7rem;
font-weight: bold;
line-height: 30px;
+ margin: unset;
}
.subtitle {
@@ -48,6 +49,7 @@
line-height: 1.3;
color: var(--theme-color-background-header);
max-width: 900px;
+ margin-top: 7px;
}
}
diff --git a/web/components/ui/CustomPageContent/CustomPageContent.module.scss b/web/components/ui/CustomPageContent/CustomPageContent.module.scss
index dc942e8772..042a57cc51 100644
--- a/web/components/ui/CustomPageContent/CustomPageContent.module.scss
+++ b/web/components/ui/CustomPageContent/CustomPageContent.module.scss
@@ -9,6 +9,7 @@
line-height: 1.6em;
color: var(--theme-color-components-text-on-light);
padding: calc(2 * var(--content-padding));
+ padding-top: unset;
border-radius: var(--theme-rounded-corners);
width: 100%;
background-color: var(--theme-color-components-content-background);
diff --git a/web/components/ui/Header/Header.module.scss b/web/components/ui/Header/Header.module.scss
index 52f2df8697..53d2aa10ed 100644
--- a/web/components/ui/Header/Header.module.scss
+++ b/web/components/ui/Header/Header.module.scss
@@ -10,6 +10,11 @@
box-shadow: 0px 1px 3px 1px rgb(0 0 0 / 10%);
background-color: var(--theme-color-background-header);
+ h1 {
+ margin-top: unset;
+ margin-bottom: unset;
+ }
+
@include screen(mobile) {
--header-height: 3.85rem;
}
diff --git a/web/styles/globals.scss b/web/styles/globals.scss
index 4edd7d8cea..9fba0522b7 100644
--- a/web/styles/globals.scss
+++ b/web/styles/globals.scss
@@ -38,6 +38,8 @@ body {
h6,
p {
padding: 0;
+ margin-top: revert;
+ margin-bottom: revert;
}
h1,