Skip to content

Commit

Permalink
tweak layout for page versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Dec 13, 2020
1 parent 1bb438f commit 7c69c4a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/css/page-versions.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,14 @@
z-index: var(--z-index-page-version-menu);
}

.page-versions.is-active .version-menu-toggle {
background-color: var(--page-version-menu-background);
}

.page-versions .version-menu {
flex: 1 1 auto;
display: flex;
min-width: 100%;
flex-direction: column;
align-items: flex-end;
background: linear-gradient(to bottom, var(--page-version-menu-background) 0%, var(--page-version-menu-background) 100%) no-repeat;
background-position: 100% 1.75em;
padding: 1.25rem 0.5rem 0.5rem;
padding: 1.375rem 1.5rem 0.5rem 0.5rem;
position: absolute;
top: 0;
right: 0;
Expand All @@ -52,10 +48,6 @@
padding-top: 0.5rem;
}

.page-versions .version:first-child {
margin-top: 0.25rem;
}

.page-versions .version.is-current {
display: none;
}
Expand Down

0 comments on commit 7c69c4a

Please sign in to comment.