sorta make channel pages look better with long titles
This commit is contained in:
parent
fc9d81eeaa
commit
8cf178ba79
3 changed files with 6 additions and 2 deletions
|
@ -38,6 +38,8 @@ $metadata-z-index: 1;
|
||||||
width: 5rem;
|
width: 5rem;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
margin-right: var(--spacing-medium);
|
margin-right: var(--spacing-medium);
|
||||||
|
margin-top: var(--spacing-large);
|
||||||
|
box-shadow: var(--card-box-shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
.channel-thumbnail--small {
|
.channel-thumbnail--small {
|
||||||
|
@ -103,11 +105,13 @@ $metadata-z-index: 1;
|
||||||
padding-left: calc(var(--channel-thumbnail-width) + var(--spacing-large));
|
padding-left: calc(var(--channel-thumbnail-width) + var(--spacing-large));
|
||||||
padding-right: var(--spacing-medium);
|
padding-right: var(--spacing-medium);
|
||||||
padding-bottom: var(--spacing-medium);
|
padding-bottom: var(--spacing-medium);
|
||||||
|
margin-top: var(--spacing-xlarge);
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@media (max-width: $breakpoint-small) {
|
@media (max-width: $breakpoint-small) {
|
||||||
padding-left: var(--spacing-medium);
|
padding-left: var(--spacing-medium);
|
||||||
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ $breakpoint-medium: 1150px;
|
||||||
// Image
|
// Image
|
||||||
--thumbnail-preview-height: 100px;
|
--thumbnail-preview-height: 100px;
|
||||||
--thumbnail-preview-width: 177px;
|
--thumbnail-preview-width: 177px;
|
||||||
--cover-photo-height: 180px;
|
--cover-photo-height: 210px;
|
||||||
--channel-thumbnail-width: 10rem;
|
--channel-thumbnail-width: 10rem;
|
||||||
--channel-thumbnail-width--small: 4rem;
|
--channel-thumbnail-width--small: 4rem;
|
||||||
--file-list-thumbnail-width: 10rem;
|
--file-list-thumbnail-width: 10rem;
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
--color-card-background-highlighted: #f6faff;
|
--color-card-background-highlighted: #f6faff;
|
||||||
--color-list-header: #fff;
|
--color-list-header: #fff;
|
||||||
--color-file-viewer-background: var(--color-card-background);
|
--color-file-viewer-background: var(--color-card-background);
|
||||||
--color-tabs-background: var(--color-primary-alt);
|
--color-tabs-background: var(--color-card-background);
|
||||||
--color-tab-divider: var(--color-primary);
|
--color-tab-divider: var(--color-primary);
|
||||||
--color-modal-background: var(--color-card-background);
|
--color-modal-background: var(--color-card-background);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue