diff --git a/src/Smartable/Cell.tsx b/src/Smartable/Cell.tsx index fbd00ed..70e77f2 100644 --- a/src/Smartable/Cell.tsx +++ b/src/Smartable/Cell.tsx @@ -74,5 +74,5 @@ export function CellInstance({cell}: {cell: CellDefinition}) */ export function CellLoader() { - return ; + return ; } diff --git a/src/Smartable/Instance.tsx b/src/Smartable/Instance.tsx index 949aa7c..2d44810 100644 --- a/src/Smartable/Instance.tsx +++ b/src/Smartable/Instance.tsx @@ -21,7 +21,7 @@ export interface InstanceProperties extends SmartablePrope export function Instance({columns}: InstanceProperties) { return ( - +
diff --git a/src/Smartable/Row.tsx b/src/Smartable/Row.tsx index eb15871..ac66003 100644 --- a/src/Smartable/Row.tsx +++ b/src/Smartable/Row.tsx @@ -125,7 +125,10 @@ export function RowInstance({row}: { row: CurrentRowData + ) } diff --git a/src/styles/_loaders.less b/src/styles/_loaders.less new file mode 100644 index 0000000..4b81730 --- /dev/null +++ b/src/styles/_loaders.less @@ -0,0 +1,4 @@ +tr > td.generic.loader:first-child:last-child +{ + height: 3em; +} diff --git a/src/styles/smartable.less b/src/styles/smartable.less index c560608..b1d009f 100644 --- a/src/styles/smartable.less +++ b/src/styles/smartable.less @@ -1 +1,5 @@ -@import "_headings"; +table.smartable +{ + @import "_headings"; + @import "_loaders"; +}