X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_mixins.scss;h=d4a2269a1b9767e3bbfc2c66b8b9631ae78cb76b;hb=b91bc1d1f3591c35ab4426f6ab594b4bd9f1ef62;hp=900638a0e49a0167ccc4a1fa491a4ba96e575127;hpb=0c9945d900fa926a3d8c54738bb7a62a00f47efc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 900638a0e..d4a2269a1 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -32,9 +32,7 @@ max-height: $font-size * $number-of-lines; /* Fallback for non-webkit */ font-size: $font-size; - line-height: $font-size - 0.1; - -webkit-line-clamp: $number-of-lines; - -webkit-box-orient: vertical; + line-height: $font-size; overflow: hidden; text-overflow: ellipsis; } @@ -237,6 +235,10 @@ position: relative; font-size: 15px; + @media screen and (max-width: $width) { + width: 100%; + } + &:after { top: 50%; right: calc(0% + 15px); @@ -329,7 +331,12 @@ } @mixin peertube-checkbox ($border-width) { - display: none; + opacity: 0; + position: absolute; + + &:focus + span { + outline: 1px solid #1e5180; + } & + span { position: relative; @@ -517,7 +524,6 @@ @media screen and (max-width: 800px) { flex-direction: column; height: auto; - text-align: center; align-items: center; } }