Skip to content
Snippets Groups Projects
Commit 103530cd authored by David Bühler's avatar David Bühler
Browse files

[Ivette] Fixes overly truncated labels in sidebar sections.

parent 17c8c755
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ import { useFlipSettings } from 'dome'; ...@@ -34,7 +34,7 @@ import { useFlipSettings } from 'dome';
import { Badge } from 'dome/controls/icons'; import { Badge } from 'dome/controls/icons';
import { Label } from 'dome/controls/labels'; import { Label } from 'dome/controls/labels';
import { classes } from 'dome/misc/utils'; import { classes } from 'dome/misc/utils';
import { Hbox, Hfill } from 'dome/layout/boxes'; import { Hbox } from 'dome/layout/boxes';
import { IconButton, IconButtonProps } from 'dome/controls/buttons'; import { IconButton, IconButtonProps } from 'dome/controls/buttons';
import './style.css'; import './style.css';
...@@ -152,7 +152,6 @@ export function Section(props: SectionProps): JSX.Element | null { ...@@ -152,7 +152,6 @@ export function Section(props: SectionProps): JSX.Element | null {
icon={icon} icon={icon}
onClick={flipState} onClick={flipState}
/> />
<Hfill />
{visible ? rightButton : makeBadge(props.summary)} {visible ? rightButton : makeBadge(props.summary)}
</Hbox> </Hbox>
<div className='dome-xSideBarSection-content' style={{ maxHeight }}> <div className='dome-xSideBarSection-content' style={{ maxHeight }}>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment