enable page version selector on mobile
authorDan Allen <dan@opendevise.com>
Sat, 26 Dec 2020 23:43:50 +0000 (16:43 -0700)
committerDan Allen <dan@opendevise.com>
Sat, 26 Dec 2020 23:43:50 +0000 (16:43 -0700)
src/css/page-versions.css

index e30bf12..5658aae 100644 (file)
@@ -1,14 +1,12 @@
 .page-versions {
-  display: none;
-  margin-right: 0.7rem;
+  margin: 0 0.2rem 0 auto;
   position: relative;
   line-height: 1;
 }
 
 @media screen and (min-width: 1024px) {
   .page-versions {
-    display: flex;
-    justify-content: flex-end;
+    margin-right: 0.7rem;
   }
 }
 
@@ -26,7 +24,6 @@
 }
 
 .page-versions .version-menu {
-  flex: 1 1 auto;
   display: flex;
   min-width: 100%;
   flex-direction: column;