mirror of
https://github.com/plankanban/planka.git
synced 2025-08-09 07:25:24 +02:00
feat: Added column card counts
Please don't "fix" the "<no_cards> cards" alignment, after adding column collapsing feature it will look good :D
This commit is contained in:
parent
0d86351d62
commit
4c735030ad
3 changed files with 11 additions and 0 deletions
|
@ -117,6 +117,10 @@ const List = React.memo(
|
|||
</Button>
|
||||
</ActionsPopup>
|
||||
)}
|
||||
<div className={styles.cardsCount}>
|
||||
{cardIds.length}
|
||||
{cardIds.length !== 1 ? t('common.cards') : t('common.card')}
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
ref={listWrapper}
|
||||
|
|
|
@ -39,6 +39,11 @@
|
|||
min-height: 1px;
|
||||
}
|
||||
|
||||
.cardsCount {
|
||||
color: #798d99;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.cardsInnerWrapper {
|
||||
max-height: calc(100vh - 268px);
|
||||
overflow-x: hidden;
|
||||
|
|
|
@ -158,6 +158,8 @@ export default {
|
|||
version: 'Version',
|
||||
viewer: 'Viewer',
|
||||
writeComment: 'Write a comment...',
|
||||
card: 'card',
|
||||
cards: 'cards',
|
||||
},
|
||||
|
||||
action: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue