Исправил отображение футера на коротких страницах, общие правки стилей

This commit is contained in:
ifraimka committed 2024-05-17 16:43:40 +03:00
1 parent d9433d616b
commit 81d2a009e0
6 files changed
+21 -34

No files matched your search

+1 -4
View File
@@ -1,7 +1,6 @@
import { Outlet } from "react-router-dom";
import { createContext, useEffect } from 'react';
import { getProjects } from "../../api";
import useElementOnScreen from '../../lib/useElementOnScreen';
import Navbar from '../../components/Navbar';
import Footer from '../../components/Footer';
@@ -26,9 +25,7 @@ function Root() {
}, [isVisible]);
return (
<RootContext.Provider
value={{ setRef }}
>
<RootContext.Provider value={{ setRef }}>
<Navbar />
<div id="page">
<Outlet />
-27
View File
@@ -10,33 +10,6 @@
.content {
background: $bg-primary;
.block {
margin-bottom: 32px;
h1 {
font-family: Montserrat;
font-size: 36px;
font-weight: 600;
line-height: 44px;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.heading {
display: flex;
justify-content: space-between;
align-items: center;
a {
font-size: 24px;
font-weight: 400;
line-height: 29px;
text-align: right;
color: $text-primary;
}
}
}
}
}