X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_mixins.scss;h=7faeec6bdcc0893e370b9f38a0d5cfe4b7b67420;hb=c5a1ae500e68b759f76851552be6dd10631d34f4;hp=e18e9ae9d7990e0cff85cd9ac88ad62d57698829;hpb=aa87909287c4f4d38696244e32828265b040c7d5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index e18e9ae9d..7faeec6bd 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -18,6 +18,12 @@ } } + +@mixin ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} /** * This mixin will crop text in block for needed amount of lines and put ellipsis at the end * @@ -432,7 +438,7 @@ height: 160px; display: flex; flex-direction: column; - align-items: start; + align-items: flex-start; .actor { display: flex; @@ -510,31 +516,14 @@ } } -@mixin video-miniature-small-screen { - text-align: center; - - /deep/ .video-miniature { - padding-right: 0; - height: auto; - width: 100%; - margin-bottom: 20px; - - .video-miniature-information { - width: 100% !important; +@mixin dropdown-with-icon-item { + padding: 6px 24px; - span { - width: 100%; - } - } - - .video-thumbnail { - width: 100%; - height: auto; + my-global-icon { + width: 24px; - img { - width: 100%; - height: auto; - } - } + margin-right: 10px; + position: relative; + top: -2px; } }