X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fvideo-watch.component.scss;h=11518633c075074de04126a736b6ea9dba84625f;hb=acbffe9c0f2c1761fef11d49fb3da97734b000e5;hp=d963f713dbf73dd4327c235084b67dba9a91a859;hpb=1f788f2044928325e48c5d88ecbc72501873558e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index d963f713d..11518633c 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -10,8 +10,9 @@ width: 888px; height: 500px; - @media screen and (max-width: 800px) { + @media screen and (max-width: 600px) { height: auto; + max-height: calc(100vh - #{$header-height}); } // VideoJS create an inner video player @@ -42,13 +43,13 @@ .video-info-first-row { display: flex; - & > div { + & > div:first-child { flex-grow: 1; } .video-info-name { margin-right: 30px; - height: 40px; // Align with the action buttons + min-height: 40px; // Align with the action buttons font-size: 27px; font-weight: $font-semibold; flex-grow: 1; @@ -80,11 +81,10 @@ .video-actions-rates { display: flex; flex-direction: column; - align-items: end; + align-items: flex-end; .video-actions { height: 40px; // Align with the title - min-width: 215px; display: flex; align-items: center; @@ -100,6 +100,7 @@ font-weight: $font-semibold; display: inline-block; padding: 0 10px 0 10px; + white-space: nowrap; .icon { @include icon(21px); @@ -115,6 +116,10 @@ background-image: url('../../../assets/images/video/dislike-grey.svg'); } + &.icon-support { + background-image: url('../../../assets/images/video/heart.svg'); + } + &.icon-share { background-image: url('../../../assets/images/video/share.svg'); } @@ -125,6 +130,10 @@ } } + &.action-button-share { + width: 82px; + } + &.action-button-like.activated { background-color: #39CC0B; @@ -193,6 +202,10 @@ margin: 20px 0; font-size: 15px; + .video-info-description-html { + word-break: break-all; + } + .description-loading { display: inline-block; } @@ -242,11 +255,7 @@ } -@media screen and (max-width: 1300px) { - .other-videos { - display: none; - } - +@media screen and (max-width: 1600px) { .video-bottom { .video-info { margin-right: 0; @@ -281,6 +290,12 @@ } } +@media screen and (max-width: 1200px) { + .other-videos { + display: none; + } +} + @media screen and (max-width: 600px) { .video-bottom { margin: 20px 0 0 0; @@ -297,3 +312,9 @@ } } } + +@media screen and (max-width: 450px) { + .video-bottom .action-button .icon-text { + display: none !important; + } +}