Skip to content

Commit

Permalink
fix(3000): last updated at overflowing on mobile dashboards (#19571)
Browse files Browse the repository at this point in the history
* init

* use flex-wrap & tailwind instead of SCSS
  • Loading branch information
RhysSullivan authored Jan 17, 2024
1 parent 55554f2 commit 31a1362
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/lib/hooks/useResizeObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (!window.ResizeObserver) {

export const useResizeObserver = useResizeObserverImport

export function useResizeBreakpoints<T>(
export function useResizeBreakpoints<T extends string>(
breakpoints: { [key: number]: T },
options?: {
ref?: RefObject<HTMLDivElement> | null | undefined
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function DashboardScene(): JSX.Element {
<EmptyDashboardComponent loading={itemsLoading} canEdit={canEditDashboard} />
) : (
<div>
<div className="flex space-x-4 justify-between">
<div className="flex gap-2 items-center justify-between flex-wrap">
{![
DashboardPlacement.Public,
DashboardPlacement.Export,
Expand Down

0 comments on commit 31a1362

Please sign in to comment.