mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-19 06:04:05 +00:00
feat: implement multiple aux timers
This commit is contained in:
committed by
Carlos Valente
parent
d1c58712ae
commit
bf8ed8d017
@@ -42,7 +42,15 @@
|
||||
}
|
||||
|
||||
.separator {
|
||||
width: 1px;
|
||||
height: 0.75em;
|
||||
background-color: $border-color-ondark;
|
||||
|
||||
&.horizontal {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
}
|
||||
|
||||
&.vertical {
|
||||
width: 1px;
|
||||
height: 0.75em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,10 @@ export function Label({ children, className, ...elementProps }: LabelHTMLAttribu
|
||||
);
|
||||
}
|
||||
|
||||
export function Separator({ className, ...elementProps }: HTMLAttributes<HTMLDivElement>) {
|
||||
return <div className={cx([style.separator, className])} {...elementProps} />;
|
||||
interface SeparatorProps extends HTMLAttributes<HTMLDivElement> {
|
||||
orientation?: 'horizontal' | 'vertical';
|
||||
}
|
||||
|
||||
export function Separator({ className, orientation = 'vertical', ...elementProps }: SeparatorProps) {
|
||||
return <div className={cx([style.separator, style[orientation], className])} {...elementProps} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user