mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix: Invoice form layout
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import React from 'react';
|
||||
import classnames from 'classnames';
|
||||
import { LoadingIndicator } from '../Indicator';
|
||||
import { css } from '@emotion/css';
|
||||
|
||||
export function DashboardInsider({
|
||||
loading,
|
||||
@@ -9,6 +10,7 @@ export function DashboardInsider({
|
||||
name,
|
||||
mount = false,
|
||||
className,
|
||||
style
|
||||
}) {
|
||||
return (
|
||||
<div
|
||||
@@ -17,9 +19,11 @@ export function DashboardInsider({
|
||||
dashboard__insider: true,
|
||||
'dashboard__insider--loading': loading,
|
||||
[`dashboard__insider--${name}`]: !!name,
|
||||
|
||||
},
|
||||
className,
|
||||
)}
|
||||
style={style}
|
||||
>
|
||||
<LoadingIndicator loading={loading} mount={mount}>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user