Fix some margins.
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 28 Apr 2020 14:38:12 +0000 (16:38 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Thu, 10 Sep 2020 12:15:11 +0000 (14:15 +0200)
src/annoy/static/annoy/banner.scss
src/wolnelektury/static/scss/book_text/body.scss

index b36fbe1..6d5a872 100644 (file)
     top: 0;
     right: 0;
     color: black;
+    max-width: 80%;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
 }
 
 
     color: white;
     border-radius: 1em 0 0 0;
     padding: .1em 1em;
+    max-width: 80%;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
 }
 
 
index 912d55b..f589e9b 100644 (file)
 
 #book-text {
     @include size(max-width, $W_BOOK_TEXT_MAX);
-    @include size(margin, 20px auto);
+    @include size(margin, 20px auto 30px);
 
     font-size: .8em;