Skip to content
Snippets Groups Projects
Commit dcd33693 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'fixed-top-bar' into 'develop'

Fixed top bar

Closes #369 and #375

See merge request funkwhale/funkwhale!330
parents f12c1050 a467e400
No related branches found
No related tags found
No related merge requests found
Fix the most annoying offset in the whole fediverse (#369)
The navigation bar of Library is now fixed (#375)
......@@ -194,6 +194,7 @@ html, body {
.main.pusher, .footer {
@include media(">desktop") {
margin-left: 350px !important;
margin-top: 50px;
}
transform: none !important;
}
......
......@@ -42,7 +42,7 @@ export default {
.library.pusher > .ui.secondary.menu {
@include media(">tablet") {
margin: 0 2.5rem;
padding: 0 2.5rem;
}
.item {
padding-top: 1.5em;
......@@ -75,7 +75,30 @@ export default {
}
}
}
.ui.secondary.pointing.menu {
border: none;
box-shadow: inset 0px -2px 0px 0px rgba(34, 36, 38, 0.15);
.ui.item {
border: none;
border-bottom-style: none;
margin-bottom: 0px;
&.active {
box-shadow: inset 0px -2px 0px 0px #000;
}
}
}
.secondary.pointing.menu {
@include media(">desktop") {
position: fixed;
left: 350px;
right: 0px;
top: 0px;
z-index: 1;
}
background-color: white;
}
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment