mirror of
https://github.com/plankanban/planka.git
synced 2025-07-28 09:39:43 +02:00
Adjust label width, update dependencies. Closes #75
This commit is contained in:
parent
2b318fdc7a
commit
3d6f9cc0e5
9 changed files with 498 additions and 463 deletions
|
@ -21,6 +21,7 @@ const Label = React.memo(({ name, color, size, isDisabled, onClick }) => {
|
|||
title={name}
|
||||
className={classNames(
|
||||
styles.wrapper,
|
||||
!name && styles.wrapperNameless,
|
||||
styles[`wrapper${upperFirst(size)}`],
|
||||
onClick && styles.wrapperHoverable,
|
||||
globalStyles[`background${upperFirst(camelCase(color))}`],
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
color: #fff;
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
min-width: 40px;
|
||||
outline: none;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
@ -23,6 +22,10 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.wrapperNameless{
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
.wrapperHoverable:hover {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue