Improve styles to avoid FOUC

This commit is contained in:
Hazem Krimi
2022-01-29 22:28:53 +01:00
parent 14e1970a56
commit f00dc80aae
8 changed files with 36 additions and 28 deletions
+4 -1
View File
@@ -7,9 +7,12 @@ export const Wrapper = styled.div`
.back {
cursor: pointer;
text-align: left;
color: #3f9aee;
display: inline-flex;
align-items: center;
span {
color: ${({ theme }) => theme.colors.blue} !important;
}
}
h1 {
-9
View File
@@ -11,15 +11,6 @@ export const Wrapper = styled.div`
row-gap: 1rem;
}
h1,
h2,
p,
span,
ul,
ol {
color: var(--text);
}
.meta {
.back {
cursor: pointer;
+4 -1
View File
@@ -7,9 +7,12 @@ export const Wrapper = styled.div`
.back {
cursor: pointer;
text-align: left;
color: #3f9aee;
display: inline-flex;
align-items: center;
span {
color: ${({ theme }) => theme.colors.blue} !important;
}
}
h1 {
-9
View File
@@ -11,15 +11,6 @@ export const Wrapper = styled.div`
row-gap: 1rem;
}
h1,
h2,
p,
span,
ul,
ol {
color: var(--text);
}
.meta {
.back {
cursor: pointer;