Skip to content

Commit

Permalink
* kanban: add title to lane name and col title.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Apr 2, 2024
1 parent 3dfc875 commit 2b034c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/kanban/src/component/kanban-header-col.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class KanbanHeaderCol extends HElement<KanbanColProps> {
<div key="title" className="kanban-header-title">
{icon ? <Icon key="icon" className="as-leading-icon" icon={icon} /> : null}
{prefix ? <span key="prefix" className={classes('as-prefix', prefixClass)}><CustomContent content={prefix} /></span> : null}
{title ? <span key="title" className={classes('as-title', titleClass)}><CustomContent content={title} /></span> : null}
{title ? <span key="title" className={classes('as-title', titleClass)} title={typeof title === 'string' ? title : undefined}><CustomContent content={title} /></span> : null}
{subtitle ? <span key="subtitle" className={classes('as-subtitle', subtitleClass)}><CustomContent content={subtitle} /></span> : null}
{trailingIcon ? <Icon key="trailingIcon" className="as-trailing-icon" icon={trailingIcon} /> : null}
</div>
Expand Down
2 changes: 1 addition & 1 deletion lib/kanban/src/component/kanban-lane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class KanbanLane extends HElement<KanbanLaneProps> {
hideName ? null : (
<div key="name" className="kanban-lane-name">
{Toolbar.render(actions, [props], {key: 'actions', className: 'kanban-lane-actions', size: 'sm'}, this)}
<div key="title" className={classes('kanban-lane-title', titleClass)}><CustomContent content={title} /></div>
<div key="title" className={classes('kanban-lane-title', titleClass)} title={typeof title === 'string' ? title : undefined}><CustomContent content={title} /></div>
</div>
),
<div key="cols" className="kanban-lane-cols">
Expand Down

0 comments on commit 2b034c0

Please sign in to comment.