show more button with fixed width

This commit is contained in:
NikolaBorislavovHristov 2019-01-31 18:36:19 +02:00
parent f2699629cc
commit e9fe5c4a1d
2 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ class Board extends PureComponent {
{ {
id: '0234', id: '0234',
type: 'movie', type: 'movie',
posterShape: 'poster', posterShape: 'landscape',
title: 'Movie title', title: 'Movie title',
subtitle: 'Movie subtitle' subtitle: 'Movie subtitle'
}, },

View file

@ -33,6 +33,7 @@
align-items: stretch; align-items: stretch;
.meta-items-container { .meta-items-container {
flex: 1;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
overflow: hidden; overflow: hidden;
@ -44,8 +45,7 @@
.show-more-container { .show-more-container {
margin: 1em; margin: 1em;
flex: 1; width: 20em;
min-width: calc(var(--poster-relative-size) * 0.8);
background-color: var(--color-backgroundlighter); background-color: var(--color-backgroundlighter);
cursor: pointer; cursor: pointer;
} }