Commit e9b9e13b by asranov0003

refactor: section header fixed to top

parent 3935464e
.sectionheader { .sectionheader {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 60px;
z-index: 100;
background: var(--background-color);
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 0 1rem;
} }
.sectionheader__link { .sectionheader__link {
......
.blockapps {
padding-top: 60px;
}
.blockapps__content { .blockapps__content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
...@@ -148,7 +148,7 @@ const BlockApps: React.FC = () => { ...@@ -148,7 +148,7 @@ const BlockApps: React.FC = () => {
return ( return (
<div className="blockapps wrapper"> <div className="blockapps wrapper">
<SectionHeader to="/home" /> <SectionHeader to="/home/manage-apps" />
<div>{renderTabContent()}</div> <div>{renderTabContent()}</div>
......
.manageapps {
padding-top: 60px;
};
.manageapps__content { .manageapps__content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -5,7 +9,7 @@ ...@@ -5,7 +9,7 @@
} }
.manageapps__content__title { .manageapps__content__title {
margin-top: 1rem; margin-bottom: 0.5rem;
} }
.manageapps__content__link { .manageapps__content__link {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment