diff options
author | IgnatzHome <ignatz@maschath.de> | 2018-05-20 12:11:58 +0200 |
---|---|---|
committer | IgnatzHome <ignatz@maschath.de> | 2018-05-20 12:11:58 +0200 |
commit | 43fe9ef34ac490ad6c141d2259ecc431dc47a81b (patch) | |
tree | 2bae46cef56e4aeacd6878961ec8b1e0a11d07b9 /client | |
parent | f910b66ef27c53767dc123880c3bbec00e8daabd (diff) | |
download | wekan-43fe9ef34ac490ad6c141d2259ecc431dc47a81b.tar.gz wekan-43fe9ef34ac490ad6c141d2259ecc431dc47a81b.tar.bz2 wekan-43fe9ef34ac490ad6c141d2259ecc431dc47a81b.zip |
style correction for custom fields on minicard
Diffstat (limited to 'client')
-rw-r--r-- | client/components/cards/minicard.jade | 9 | ||||
-rw-r--r-- | client/components/cards/minicard.styl | 7 |
2 files changed, 12 insertions, 4 deletions
diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index f89e66d4..fd3fb7b0 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -25,13 +25,14 @@ template(name="minicard") each members +userAvatar(userId=this) - .card-details-items + .minicard-custom-fields each customFieldsWD if definition.showOnCard - .card-details-item.card-details-item-customfield - h3.card-details-item-title + .minicard-custom-field + h3.minicard-custom-field-item = definition.name - +cardCustomField + .minicard-custom-field-item + +cardCustomField .badges if comments.count diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl index d59f1f63..38f829d0 100644 --- a/client/components/cards/minicard.styl +++ b/client/components/cards/minicard.styl @@ -77,6 +77,13 @@ height: @width border-radius: 2px margin-left: 3px + .minicard-custom-fields + display:block; + .minicard-custom-field + display:flex; + .minicard-custom-field-item + max-width:50%; + flex-grow:1; .minicard-title p:last-child margin-bottom: 0 |