make sure the menu drawer does not overflow the screen and the x in its title bar...
authorRobert Kaiser <kairo@kairo.at>
Sun, 30 Aug 2015 21:40:04 +0000 (23:40 +0200)
committerRobert Kaiser <kairo@kairo.at>
Sun, 30 Aug 2015 21:40:04 +0000 (23:40 +0200)
style/lantea.css

index c3c1b72..36aef54 100644 (file)
@@ -114,6 +114,7 @@ h1 {
   bottom: 0;
   left: calc(-40ch - 1ch); /* account for padding */
   width: 40ch;
+  max-width: 95%; /* make sure we don't overflow the screen */
   background-color: rgba(15, 15, 15, .9);
   color: #CCCCCC;
   border: 0;