Skip to content

Commit

Permalink
Truncate title of playlist in queue window (#4134)
Browse files Browse the repository at this point in the history
* truncate title of playlist in watch window

* Update src/renderer/components/watch-video-playlist/watch-video-playlist.vue

Co-authored-by: absidue <[email protected]>

---------

Co-authored-by: absidue <[email protected]>
  • Loading branch information
Benjababe and absidue committed Oct 14, 2023
1 parent 1a92d4b commit 7805763
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
.playlistTitle, .channelName {
.playlistTitle {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}

.playlistTitleLink, .channelName {
text-decoration: none;
color: inherit;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
<div
v-else
>
<h3>
<h3
class="playlistTitle"
:title="playlistTitle"
>
<router-link
class="playlistTitle"
class="playlistTitleLink"
:to="`/playlist/${playlistId}`"
>
{{ playlistTitle }}
Expand Down

0 comments on commit 7805763

Please sign in to comment.