Browse Source

Addition bottom page content layout tweaks

pull/2724/head
Gabe Kangas 2 years ago
parent
commit
e8ef6433e5
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 1
      web/components/ui/Content/Content.module.scss
  2. 4
      web/components/ui/CustomPageContent/CustomPageContent.module.scss
  3. 2
      web/components/ui/CustomPageContent/CustomPageContent.tsx

1
web/components/ui/Content/Content.module.scss

@ -130,7 +130,6 @@ @@ -130,7 +130,6 @@
.bottomPageContentContainer {
background-color: var(--theme-color-components-content-background);
padding: calc(2 * var(--content-padding));
padding-top: 0px;
border-radius: var(--theme-rounded-corners);
width: 100%;
}

4
web/components/ui/CustomPageContent/CustomPageContent.module.scss

@ -1,9 +1,5 @@ @@ -1,9 +1,5 @@
@import 'styles/mixins.scss';
.pageContentContainer {
@include flexCenter;
}
.customPageContent {
font-size: 1rem;
line-height: 1.6em;

2
web/components/ui/CustomPageContent/CustomPageContent.tsx

@ -7,7 +7,7 @@ export type CustomPageContentProps = { @@ -7,7 +7,7 @@ export type CustomPageContentProps = {
};
export const CustomPageContent: FC<CustomPageContentProps> = ({ content }) => (
<div className={styles.pageContentContainer} id="custom-page-content">
<div id="custom-page-content">
<div className={styles.customPageContent} dangerouslySetInnerHTML={{ __html: content }} />
</div>
);

Loading…
Cancel
Save