diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-08-28 10:59:46 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-08-28 10:59:46 +0200 |
commit | 2cd0402e7299084d84123605211a5583f898dcfc (patch) | |
tree | cf7467780eb7d822a49ce2fc7888068ced6afcd0 /client | |
parent | 84f49fa7a11065f6ca21057d532011e2f4d51300 (diff) | |
download | wekan-2cd0402e7299084d84123605211a5583f898dcfc.tar.gz wekan-2cd0402e7299084d84123605211a5583f898dcfc.tar.bz2 wekan-2cd0402e7299084d84123605211a5583f898dcfc.zip |
Fix label alignement on Safari
Safari infer different values for the `vertical-align` property of
`inline-block` element. See this answer for more details:
http://stackoverflow.com/a/4828136/1652064
Fixes #177
Diffstat (limited to 'client')
-rw-r--r-- | client/components/cards/labels.styl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/components/cards/labels.styl b/client/components/cards/labels.styl index db82fd7c..361a17ae 100644 --- a/client/components/cards/labels.styl +++ b/client/components/cards/labels.styl @@ -8,11 +8,13 @@ font-weight: 700 font-size: 13px margin-right: 4px + margin-bottom: 5px padding: 3px 8px max-width: 100% min-width: 8px overflow: ellipsis height: 18px + vertical-align: bottom &:hover color: white |