X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a5d97184b87b72f8fb964c862af0f54f3ef788c1..198a108e3d92aa7485056eb67a4129a5a457ff47:/src/annoy/static/annoy/banner.scss diff --git a/src/annoy/static/annoy/banner.scss b/src/annoy/static/annoy/banner.scss index e0e0f62d2..60744de53 100644 --- a/src/annoy/static/annoy/banner.scss +++ b/src/annoy/static/annoy/banner.scss @@ -36,6 +36,7 @@ img { margin: 0; align-self: center; + width: auto; max-height: 40px; @media screen and (min-width: 400px) { max-height: 60px; @@ -87,6 +88,10 @@ top: 0; right: 0; color: black; + max-width: 80%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } @@ -223,6 +228,10 @@ color: white; border-radius: 1em 0 0 0; padding: .1em 1em; + max-width: 80%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } @@ -230,6 +239,10 @@ .dynamic-insert { background: orange; margin: 1em 0; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; &.with-image { min-height: 120px; @@ -251,6 +264,8 @@ border-radius: 100%; margin: 1em; align-self: center; + width: 120px; + height: 120px; } } }