mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:29:45 +00:00
Исправил отображение футера на коротких страницах, общие правки стилей
This commit is contained in:
1 parent
d9433d616b
commit
81d2a009e0
6 files changed
+21
-34
No files matched your search
@@ -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 />
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user