<h4 id="list" height="10px">
<a id="1">
<t t-if="record.task.raw_value">
- <button name="open_tasks" id = "open_tasks" class="oe_project_buttons" type="object"><t t-if="record.open_task.value <= 1"> Task</t><t t-if="record.open_task.value > 1"> Tasks</t>(<t t-esc="record.open_task.value"/>)</button>
+ <button name="open_tasks" id = "open_tasks" class="oe_project_buttons" type="object"><div class="fontsize"><t t-if="record.open_task.value <= 1"> Task</t><t t-if="record.open_task.value > 1"> Tasks</t>(<t t-esc="record.open_task.value"/>)</div></button>
</t>
</a>
</h4>
.oe_kanban_color_5 {
background: orange;
}
+.fontsize{font-size: 12px;}
.white {
background: white; }
<xpath expr="//h4[@id='list']" position="inside">
<a id="2">
<t t-if="record.issues.raw_value">
- <button name="open_issues" class="oe_project_buttons" type="object"><t t-if="record.total_issues.value <= 1"> Issue</t><t t-if="record.total_issues.value > 1"> Issues</t>(<t t-esc="record.total_issues.value"/>)</button>
+ <button name="open_issues" class="oe_project_buttons" type="object"><div class="fontsize"><t t-if="record.total_issues.value <= 1"> Issue</t><t t-if="record.total_issues.value > 1"> Issues</t>(<t t-esc="record.total_issues.value"/>)</div></button>
</t>
</a>
</xpath>
<xpath expr="//h4[@id='list']" position="inside">
<a id="4">
<t t-if="record.phases.raw_value">
- <button name="open_phase" class="oe_project_buttons" type="object"><t t-if="record.open_phases.value <= 1"> Phase</t><t t-if="record.open_phases.value > 1"> Phases</t>(<t t-esc="record.open_phases.value"/>)</button>
+ <button name="open_phase" class="oe_project_buttons" type="object"><div class="fontsize"><t t-if="record.open_phases.value <= 1"> Phase</t><t t-if="record.open_phases.value > 1"> Phases</t>(<t t-esc="record.open_phases.value"/>)</div></button>
</t>
</a>
</xpath>
<xpath expr="//h4[@id='list']" position="inside">
<a id="3">
<t t-if="record.timesheets.raw_value">
- <button name="open_timesheets" class="oe_project_buttons" type="object"><t t-if="record.total_timesheet.value <= 1"> Timesheet</t><t t-if="record.total_timesheet.value > 1"> Timesheets</t>(<t t-esc="record.total_timesheet.value"/>)</button>
+ <button name="open_timesheets" class="oe_project_buttons" type="object"><div class="fontsize"><t t-if="record.total_timesheet.value <= 1"> Timesheet</t><t t-if="record.total_timesheet.value > 1"> Timesheets</t>(<t t-esc="record.total_timesheet.value"/>)</div></button>
</t>
</a>
</xpath>