mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:39:45 +00:00
Merge branch 'Team' into refactoring
This commit is contained in:
commit
1a0ff4cf56
33 files changed
+1099
-397
No files matched your search
@@ -73,14 +73,13 @@ function Root() {
|
||||
|
||||
return (
|
||||
<RootContext.Provider value={{ setRef }}>
|
||||
<div id="layout-wrapper">
|
||||
<Navbar />
|
||||
<div
|
||||
id="react-page"
|
||||
style={{ marginTop: isHomePage ? "0px" : "" }} // Устанавливаем margin-top
|
||||
>
|
||||
<main id="react-page" style={{ marginTop: isHomePage ? "0px" : "" }}>
|
||||
<Outlet />
|
||||
</div>
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
{hasScrolled && (
|
||||
<button
|
||||
className={`scroll-to-top ${isOnTopVisible ? "visible" : "hidden"}`}
|
||||
@@ -90,7 +89,7 @@ function Root() {
|
||||
</button>
|
||||
)}
|
||||
</RootContext.Provider>
|
||||
);
|
||||
);
|
||||
}
|
||||
|
||||
export default Root;
|
||||
@@ -49,6 +49,7 @@ a {
|
||||
|
||||
.btn:hover {
|
||||
background-position: 100%;
|
||||
color: $btn-primary-text;
|
||||
}
|
||||
|
||||
.btn[disabled] {
|
||||
|
||||
Reference in new issue
Block a user