diff --git a/Chrome/css/labels.css b/Chrome/css/labels.css index 99f16ed..5a9f2ea 100644 --- a/Chrome/css/labels.css +++ b/Chrome/css/labels.css @@ -1,20 +1,10 @@ -.list-card { - overflow: hidden; +.card-label.mod-card-front { + height: 16px !important; + line-height: 16px !important; + padding: 0 8px !important; + max-width: 198px !important; } -.list-card-labels { - display: block; - margin: 0!important; -} - -.list-card-labels .card-label { - font-size: .7142857142857143rem; - line-height: 1.142857142857143rem!important; - height: inherit!important; - margin-right: 0; - padding: 0 0.5em!important; - text-align: center; - text-shadow: rgba(0, 0, 0, .1) 0 0 5px, rgba(0, 0, 0, .2) 0 0 2px; - width: auto!important; - display: inline!important; +.mod-card-front .label-text { + display: inherit !important; } diff --git a/Chrome/manifest.json b/Chrome/manifest.json index 22d534f..4f627af 100644 --- a/Chrome/manifest.json +++ b/Chrome/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Card Color Titles for Trello", - "version": "1.0.0", + "version": "1.0.1", "description": "Show the Card label titles, column card count and card numbers on trello.com for easier communication in a team", "author" : "Chuck J Hardy", @@ -24,4 +24,3 @@ "chrome_style": true } } - diff --git a/FirefoxAddon/data/override.css b/FirefoxAddon/data/override.css index ca27904..f14adc9 100644 --- a/FirefoxAddon/data/override.css +++ b/FirefoxAddon/data/override.css @@ -1,21 +1,11 @@ -.list-card -{ - overflow: hidden; -} -.list-card-labels -{ - display: block; - margin: 0!important; -} -.list-card-labels .card-label -{ - font-size: .7142857142857143rem; - line-height: 1.142857142857143rem!important; - height: inherit!important; - margin-right: 0; - padding: 0 0.5em!important; - text-align: center; - text-shadow: rgba(0, 0, 0, .1) 0 0 5px, rgba(0, 0, 0, .2) 0 0 2px; - width: auto!important; - display: inline!important; -} \ No newline at end of file +.card-label.mod-card-front { + height: 16px !important; + line-height: 16px !important; + padding: 0 8px !important; + max-width: 198px !important; + } + + .mod-card-front .label-text { + display: inherit !important; + } + \ No newline at end of file