From e9fe5c4a1d9fa7ec2879d88669485fd3eb753781 Mon Sep 17 00:00:00 2001 From: NikolaBorislavovHristov Date: Thu, 31 Jan 2019 18:36:19 +0200 Subject: [PATCH] show more button with fixed width --- src/routes/Board/Board.js | 2 +- src/routes/Board/styles.less | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/Board/Board.js b/src/routes/Board/Board.js index 29e858463..ea128b2ef 100644 --- a/src/routes/Board/Board.js +++ b/src/routes/Board/Board.js @@ -89,7 +89,7 @@ class Board extends PureComponent { { id: '0234', type: 'movie', - posterShape: 'poster', + posterShape: 'landscape', title: 'Movie title', subtitle: 'Movie subtitle' }, diff --git a/src/routes/Board/styles.less b/src/routes/Board/styles.less index 607952b22..f9597c633 100644 --- a/src/routes/Board/styles.less +++ b/src/routes/Board/styles.less @@ -33,6 +33,7 @@ align-items: stretch; .meta-items-container { + flex: 1; display: flex; flex-direction: row; overflow: hidden; @@ -44,8 +45,7 @@ .show-more-container { margin: 1em; - flex: 1; - min-width: calc(var(--poster-relative-size) * 0.8); + width: 20em; background-color: var(--color-backgroundlighter); cursor: pointer; }