diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-08-23 02:59:29 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2019-08-23 02:59:29 +0300 |
commit | 0dd3ff29f2b558bc912b330f178347035dcc46c7 (patch) | |
tree | d52a30b89a828a4ae4b7643ae0d00c67b6aff4e3 /client/components/cards/minicard.styl | |
parent | 576523021e3640fde3f5ad63cb00c3fd57492b2d (diff) | |
download | wekan-0dd3ff29f2b558bc912b330f178347035dcc46c7.tar.gz wekan-0dd3ff29f2b558bc912b330f178347035dcc46c7.tar.bz2 wekan-0dd3ff29f2b558bc912b330f178347035dcc46c7.zip |
Limit card width to fixed size.
Thanks to xet7 !
Diffstat (limited to 'client/components/cards/minicard.styl')
-rw-r--r-- | client/components/cards/minicard.styl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl index f0bb0b39..c4172572 100644 --- a/client/components/cards/minicard.styl +++ b/client/components/cards/minicard.styl @@ -93,8 +93,11 @@ .minicard-custom-field display:flex; .minicard-custom-field-item - max-width:50%; - flex-grow:1; + flex-grow: 1 + display: block + word-wrap: break-word + max-width: 100px + margin-right: 4px .handle width: 20px; height: 20px; @@ -112,7 +115,9 @@ p:last-child margin-bottom: 0 .viewer - display: inline-block + display: block + word-wrap: break-word + max-width: 230px .dates display: flex; flex-direction: row; |