Skip to content

Commit

Permalink
feature: improve ui
Browse files Browse the repository at this point in the history
  • Loading branch information
wilcorrea committed Apr 10, 2024
1 parent 2f78c22 commit 61b88a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 8 additions & 5 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,30 @@
height: 100%;
width: 100%;
position: relative;
padding-top: 82px;
}

body {
background-image: linear-gradient(90deg, #33b7e2, #a680da, #fd81b8);
}

nav {
.PublicLayout {
padding-top: 82px;
}

.PublicLayout nav {
height: 82px;
}

main {
.PublicLayout main {
padding: 30px 10px;
}

main > .container {
.PublicLayout main > .container {
min-height: calc(100vh - 198px);
transition: height 0.3s;
max-width: 1024px;
}

footer {
.PublicLayout footer {
height: 56px;
}
4 changes: 2 additions & 2 deletions src/view/layouts/PublicLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function PublicLayout () {
})

return (
<>
<div className="PublicLayout">
<nav className="navbar navbar-expand-lg bg-body-tertiary fixed-top">
<div className="container-fluid">
<Link
Expand Down Expand Up @@ -70,6 +70,6 @@ export function PublicLayout () {
<small className="text-light-emphasis">{t('copyright')}</small>
</div>
</footer>
</>
</div>
)
}

0 comments on commit 61b88a6

Please sign in to comment.