Skip to content

Commit a7bb91d

Browse files
committed
tweak layout for page versions
1 parent 81c6d80 commit a7bb91d

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/css/page-versions.css

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,14 @@
2525
z-index: var(--z-index-page-version-menu);
2626
}
2727

28-
.page-versions.is-active .version-menu-toggle {
29-
background-color: var(--page-version-menu-background);
30-
}
31-
3228
.page-versions .version-menu {
3329
flex: 1 1 auto;
3430
display: flex;
3531
min-width: 100%;
3632
flex-direction: column;
33+
align-items: flex-end;
3734
background: linear-gradient(to bottom, var(--page-version-menu-background) 0%, var(--page-version-menu-background) 100%) no-repeat;
38-
background-position: 100% 1.75em;
39-
padding: 1.25rem 0.5rem 0.5rem;
35+
padding: 1.375rem 1.5rem 0.5rem 0.5rem;
4036
position: absolute;
4137
top: 0;
4238
right: 0;
@@ -52,10 +48,6 @@
5248
padding-top: 0.5rem;
5349
}
5450

55-
.page-versions .version:first-child {
56-
margin-top: 0.25rem;
57-
}
58-
5951
.page-versions .version.is-current {
6052
display: none;
6153
}

0 commit comments

Comments
 (0)