mirror of
https://github.com/wekan/wekan.git
synced 2025-12-26 20:28:48 +01:00
Merge pull request #4073 from mfilser/labels_wrapped_if_too_long
Labels wrapped if too long
This commit is contained in:
commit
fe2a7e207c
3 changed files with 8 additions and 12 deletions
|
|
@ -230,10 +230,6 @@ avatar-radius = 50%
|
|||
font-weight: bold
|
||||
color: #4d4d4d
|
||||
|
||||
.card-label
|
||||
padding-top: 5px
|
||||
padding-bottom: 5px
|
||||
|
||||
.activities
|
||||
padding-top: 10px
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
// XXX Use .board-widget-labels as a flexbox container
|
||||
.card-label
|
||||
border: 1px solid #000000
|
||||
border-radius: 4px
|
||||
color: white //Default white text, in select cases, changed to black to improve contrast between label colour and text
|
||||
display: inline-block
|
||||
|
|
@ -12,10 +13,11 @@
|
|||
padding: 3px 8px
|
||||
max-width: 210px
|
||||
min-width: 8px
|
||||
overflow: ellipsis
|
||||
word-wrap: break-word
|
||||
height: 18px
|
||||
vertical-align: bottom
|
||||
min-height: 18px
|
||||
vertical-align: middle
|
||||
white-space: initial
|
||||
overflow: initial
|
||||
|
||||
&:hover
|
||||
color: white
|
||||
|
|
@ -27,12 +29,13 @@
|
|||
|
||||
&.add-label
|
||||
box-shadow: 0 0 0 2px darken(white, 25%) inset
|
||||
border: initial
|
||||
|
||||
&:hover, &.is-active
|
||||
box-shadow: 0 0 0 2px darken(white, 60%) inset
|
||||
|
||||
i.fa-plus
|
||||
margin-top: 3px
|
||||
p
|
||||
margin: 0px
|
||||
|
||||
.palette-colors
|
||||
display: flex
|
||||
|
|
@ -47,7 +50,6 @@
|
|||
.card-label-white
|
||||
background-color: #ffffff
|
||||
color: #000000 //Black text for better visibility
|
||||
border: 1px solid #c0c0c0
|
||||
|
||||
.card-label-white:hover
|
||||
color: #aaaaaa //grey text for better visibility
|
||||
|
|
|
|||
|
|
@ -80,8 +80,6 @@
|
|||
|
||||
.minicard-labels
|
||||
float: none
|
||||
display: flex
|
||||
flex-wrap: wrap
|
||||
|
||||
.minicard-label
|
||||
width: 11px
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue