projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix playlist more button with long video names
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
video-playlist
/
video-playlist-element-miniature.component.scss
diff --git
a/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.scss
b/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.scss
index cb7072d7f3fe4559ab3d19bef58bdb6023ef4155..b55ca0deac106f74b81998a7c2ca2da1a566b1cd 100644
(file)
--- a/
client/src/app/shared/video-playlist/video-playlist-element-miniature.component.scss
+++ b/
client/src/app/shared/video-playlist/video-playlist-element-miniature.component.scss
@@
-2,9
+2,21
@@
@import '_mixins';
@import '_miniature';
@import '_mixins';
@import '_miniature';
+$thumbnail-width: 130px;
+$thumbnail-height: 72px;
+
my-video-thumbnail {
my-video-thumbnail {
- @include thumbnail-size-component(130px, 72px);
+ @include thumbnail-size-component($thumbnail-width, $thumbnail-height);
+}
+.fake-thumbnail {
+ width: $thumbnail-width;
+ height: $thumbnail-height;
+ background-color: #ececec;
+}
+
+my-video-thumbnail,
+.fake-thumbnail {
display: flex; // Avoids an issue with line-height that adds space below the element
margin-right: 10px;
}
display: flex; // Avoids an issue with line-height that adds space below the element
margin-right: 10px;
}
@@
-31,6
+43,7
@@
my-video-thumbnail {
a {
@include disable-default-a-behaviour;
a {
@include disable-default-a-behaviour;
+ color: var(--mainForegroundColor);
display: flex;
min-width: 0;
align-items: center;
display: flex;
min-width: 0;
align-items: center;
@@
-58,7
+71,6
@@
my-video-thumbnail {
min-width: 0;
a {
min-width: 0;
a {
- color: var(--mainForegroundColor);
width: auto;
&:hover {
width: auto;
&:hover {
@@
-66,25
+78,26
@@
my-video-thumbnail {
}
}
}
}
- .video-info-name {
- font-size: 18px;
- font-weight: $font-semibold;
- display: inline-block;
-
- @include ellipsis;
- }
-
.video-info-account, .video-info-timestamp {
color: $grey-foreground-color;
}
}
}
.video-info-account, .video-info-timestamp {
color: $grey-foreground-color;
}
}
}
+ .video-info-name {
+ font-size: 18px;
+ font-weight: $font-semibold;
+ display: inline-block;
+
+ @include ellipsis;
+ }
+
.more {
justify-self: flex-end;
margin-left: auto;
cursor: pointer;
opacity: 0;
.more {
justify-self: flex-end;
margin-left: auto;
cursor: pointer;
opacity: 0;
+ min-width: 24px;
&.show {
opacity: 1;
&.show {
opacity: 1;