diff options
author | Lauri Ojansivu <x@xet7.org> | 2017-02-11 23:01:50 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2017-02-11 23:01:50 +0200 |
commit | d6028b90cd64fbe5b2a669a191616d8c37c14d1e (patch) | |
tree | 2c992180092081f81083079982c427d8dd9f6ec4 /client/components/cards/minicard.styl | |
parent | c7f30c96fceb61ee876a6ae0f730838d3186a4cd (diff) | |
download | wekan-d6028b90cd64fbe5b2a669a191616d8c37c14d1e.tar.gz wekan-d6028b90cd64fbe5b2a669a191616d8c37c14d1e.tar.bz2 wekan-d6028b90cd64fbe5b2a669a191616d8c37c14d1e.zip |
Make Due Date layout nicer on minicard. Thanks to whittssg2!
Diffstat (limited to 'client/components/cards/minicard.styl')
-rw-r--r-- | client/components/cards/minicard.styl | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl index 12a89785..a6aad896 100644 --- a/client/components/cards/minicard.styl +++ b/client/components/cards/minicard.styl @@ -77,7 +77,12 @@ height: @width border-radius: 2px margin-left: 3px - + .dates + display: flex; + flex-direction: row; + flex-wrap: wrap; + .date + margin-right: 3px .badges float: left margin-top: 7px @@ -91,25 +96,20 @@ margin-right: 11px margin-bottom: 3px font-size: 0.9em - + &.is-finished + background: #3cb500 + padding: 0px 3px + border-radius: 3px + color: white + &:last-of-type margin-right: 0 .badge-icon, .badge-text vertical-align: middle - - &.is-finished - background: #3cb500 - padding: 0px 3px - border-radius: 3px - color: white - - .badge-icon, - .badge-text - vertical-align: middle//didn't figure why use top, it'd be easier to fill bg if it's middle. This was introduced in commit "91cfcf7b12b5e7c137c2e765b2c378dde6b82966" & "* Improve the design of the minicards badges" was mentioned. &.badge-comment - margin-bottom: 0.1rem + margin-bottom: 0.1rem .badge-text font-size: 0.9em @@ -119,7 +119,6 @@ padding-left: 0px line-height: 12px - .minicard-members float: right margin: 2px -8px -2px 0 |