Skip to content

Commit

Permalink
chore: Use gap from grid to be future-proof #1007
Browse files Browse the repository at this point in the history
  • Loading branch information
mturoci committed Jan 19, 2022
1 parent 3482acd commit 5cfaa93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/notification_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import * as Fluent from '@fluentui/react'
import { B, Box, box, S, U } from 'h2o-wave'
import React from 'react'
import { Component } from './form'
import { grid } from './layout'
import { MessageBar } from "./message_bar"
import { bond } from './ui'

Expand All @@ -40,7 +41,7 @@ export interface NotificationBar {
events?: S[]
}

const gap = 15
const gap = grid.gap

export const
notificationBarB: Box<NotificationBar | null> = box(null),
Expand Down

0 comments on commit 5cfaa93

Please sign in to comment.