mirror of
https://github.com/bfloydd/streams.git
synced 2026-07-22 05:49:02 +00:00
use chevron instead of ascii
This commit is contained in:
parent
a120018138
commit
24c52fa626
1 changed files with 2 additions and 2 deletions
|
|
@ -226,7 +226,7 @@ export class ComponentUIBuilder {
|
|||
|
||||
private setupNavigationControls(navControls: HTMLElement, collapsedView: HTMLElement): void {
|
||||
const prevDayButton = navControls.createDiv('streams-bar-day-nav prev-day');
|
||||
prevDayButton.setText('←');
|
||||
setIcon(prevDayButton, 'chevron-left');
|
||||
prevDayButton.setAttribute('aria-label', 'Previous day');
|
||||
this.eventRegistry.register(prevDayButton, 'click', async (e: Event) => {
|
||||
e.stopPropagation();
|
||||
|
|
@ -242,7 +242,7 @@ export class ComponentUIBuilder {
|
|||
});
|
||||
|
||||
const nextDayButton = navControls.createDiv('streams-bar-day-nav next-day');
|
||||
nextDayButton.setText('→');
|
||||
setIcon(nextDayButton, 'chevron-right');
|
||||
nextDayButton.setAttribute('aria-label', 'Next day');
|
||||
this.eventRegistry.register(nextDayButton, 'click', async (e: Event) => {
|
||||
e.stopPropagation();
|
||||
|
|
|
|||
Loading…
Reference in a new issue