Issue #721 fix - Inconsistent thumbnail sizes #744

Merged
akinwale merged 1 commit from issue721 into master 2017-11-15 22:57:48 +01:00
akinwale commented 2017-11-14 18:59:15 +01:00 (Migrated from github.com)

Fix for long channel names resulting in the inconsistent thumbnail sizes.

Fix for long channel names resulting in the inconsistent thumbnail sizes.
liamcardenas (Migrated from github.com) reviewed 2017-11-14 18:59:15 +01:00
neb-b (Migrated from github.com) reviewed 2017-11-15 18:09:19 +01:00
@ -1,4 +1,12 @@
.channel-name {
width: calc(var(--card-small-width) * 2 / 3);
neb-b (Migrated from github.com) commented 2017-11-15 18:09:19 +01:00

Is this needed? I think it should be fine with just the nowrap and ellipsis. If it's extending to the edge, we should add a padding to the card.

Is this needed? I think it should be fine with just the `nowrap` and `ellipsis`. If it's extending to the edge, we should add a padding to the card.
akinwale (Migrated from github.com) reviewed 2017-11-15 18:55:18 +01:00
@ -1,4 +1,12 @@
.channel-name {
width: calc(var(--card-small-width) * 2 / 3);
akinwale (Migrated from github.com) commented 2017-11-15 18:55:18 +01:00

Without specifying the width, long text will push the price indicator to the next line. I suppose we could simplify this using a percentage width instead of the calculation. 60% or 70% should be fine.

Without specifying the width, long text will push the price indicator to the next line. I suppose we could simplify this using a percentage width instead of the calculation. 60% or 70% should be fine.
neb-b (Migrated from github.com) reviewed 2017-11-15 18:57:24 +01:00
@ -1,4 +1,12 @@
.channel-name {
width: calc(var(--card-small-width) * 2 / 3);
neb-b (Migrated from github.com) commented 2017-11-15 18:57:24 +01:00

Gotcha. This should be fine for now, we will be moving to the new design sometime soon.

Gotcha. This should be fine for now, we will be moving to the new design sometime soon.
neb-b (Migrated from github.com) approved these changes 2017-11-15 18:58:01 +01:00
kauffj (Migrated from github.com) reviewed 2017-11-15 18:58:07 +01:00
@ -1,4 +1,12 @@
.channel-name {
width: calc(var(--card-small-width) * 2 / 3);
kauffj (Migrated from github.com) commented 2017-11-15 18:58:07 +01:00

(Proper solution is probably a flex layout rather than calc, but not demanding propriety. Especially since we're likely to redesign soon anyway.)

(Proper solution is probably a flex layout rather than `calc`, but not demanding propriety. Especially since we're likely to redesign soon anyway.)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#744
No description provided.