prevent thumbnails from shinking to 0 width

This commit is contained in:
Sean Yesmunt 2019-04-19 12:19:55 -04:00
parent e676d0b4fb
commit d0bad3cf01
2 changed files with 3 additions and 11 deletions

View file

@ -35,13 +35,12 @@
}
.media__thumb {
flex-shrink: 0;
width: 20rem;
}
.media__info {
margin-left: var(--spacing-vertical-medium);
width: calc(80% - 20rem);
min-width: 40rem;
}
}
@ -49,12 +48,11 @@
font-size: 2rem;
.media__thumb {
width: 30rem;
width: 25rem;
}
.media__info {
margin-left: var(--spacing-vertical-large);
flex: 1;
}
.media__subtext {
@ -73,12 +71,6 @@
width: 11em;
}
.media__info {
width: calc(100% - 10em);
min-width: auto;
position: relative;
}
.media__title {
margin-bottom: var(--spacing-vertical-small);
}

View file

@ -1,7 +1,6 @@
.search__header {
background-color: $lbry-black;
color: $lbry-white;
min-height: 300px;
padding: var(--spacing-vertical-large);
.placeholder {
@ -14,6 +13,7 @@
.media__subtitle {
color: rgba($lbry-white, 0.9);
font-size: 0.7em;
}
html[data-mode='dark'] & {