mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
M: Small fixes
This commit is contained in:
parent
e63aedbe34
commit
61108809bf
|
@ -15,7 +15,7 @@ export function NavigationButton({ icon, title, hideTitle, className, style, onC
|
||||||
return (
|
return (
|
||||||
<button
|
<button
|
||||||
type='button'
|
type='button'
|
||||||
tabIndex={1}
|
tabIndex={0}
|
||||||
aria-label={title}
|
aria-label={title}
|
||||||
data-tooltip-id={!!title ? globalIDs.tooltip : undefined}
|
data-tooltip-id={!!title ? globalIDs.tooltip : undefined}
|
||||||
data-tooltip-hidden={hideTitle}
|
data-tooltip-hidden={hideTitle}
|
||||||
|
|
|
@ -41,7 +41,6 @@ export function ValueIcon({
|
||||||
onClick,
|
onClick,
|
||||||
...restProps
|
...restProps
|
||||||
}: ValueIconProps) {
|
}: ValueIconProps) {
|
||||||
// TODO: do not add button if onClick is disabled
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user