Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasiliy Trushin committed Jan 28, 2025
1 parent 022d36a commit 9f890b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion statshouse-ui/src/components2/Dashboard/DashboardName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const DashboardName = memo(function DashboardName() {
<StickyTop>
<div className="container-xl d-flex">
<Tooltip
className="d-flex flex-row gap-2 w-75"
className="d-flex flex-row gap-2 w-75 my-auto"
title={<DashboardNameTitle name={dashboardName} description={dashboardDescription} />}
hover
horizontal="left"
Expand Down
4 changes: 2 additions & 2 deletions statshouse-ui/src/components2/HistoryList/HistoryLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export const HistoryLink = memo(function HistoryLink({
style={{ width: '400px' }}
onClick={onVersionClick}
>
<span className="text-muted">{`time: ${timeChange || 'unknown'}`}</span>
<span className="fw-semibold">{`name: ${event?.metadata?.user_email || 'unknown'}`}</span>
{timeChange && <span className="text-muted">{`time: ${timeChange}`}</span>}
<span className="fw-semibold">{`author: ${event?.metadata?.user_email || 'unknown'}`}</span>
<span>
{`version: ${event?.version || 'unknown'}`}
{isActualVersion && <span className="badge bg-primary ms-2">current</span>}
Expand Down
2 changes: 1 addition & 1 deletion statshouse-ui/src/components2/StickyTop/StickyTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const StickyTop = memo(function StickyTop({ children, className, ...props
const scrollY = useWindowSize((s) => s.scrollY > 16);

return (
<div className={cn('sticky-top mt-2 bg-body mb-3', scrollY && 'shadow-sm small', className)} {...props}>
<div className={cn('sticky-top mt-2 bg-body', scrollY && 'shadow-sm small', className)} {...props}>
{children}
</div>
);
Expand Down

0 comments on commit 9f890b4

Please sign in to comment.