Update layout

This commit is contained in:
Bill 2022-01-11 01:38:01 -05:00
parent 59321bb133
commit 2b10284506
5 changed files with 7 additions and 2 deletions

View File

@ -78,3 +78,7 @@ ul {
.z-index-1 { .z-index-1 {
z-index: 1; z-index: 1;
} }
.flex-basis-fit-content {
flex-basis: fit-content;
}

View File

@ -13,7 +13,7 @@ export interface ButtonProps extends FlexProps
export const Button: FC<ButtonProps> = props => export const Button: FC<ButtonProps> = props =>
{ {
const { variant = 'primary', size = null, active = false, disabled = false, classNames = [], ...rest } = props; const { variant = 'primary', size = 'sm', active = false, disabled = false, classNames = [], ...rest } = props;
const getClassNames = useMemo(() => const getClassNames = useMemo(() =>
{ {

View File

@ -23,6 +23,7 @@ export const Grid: FC<GridProps> = props =>
const newClassNames: string[] = []; const newClassNames: string[] = [];
if(!grow) newClassNames.push('h-100'); if(!grow) newClassNames.push('h-100');
else newClassNames.push('flex-basis-fit-content');
if(inline) newClassNames.push('inline-grid'); if(inline) newClassNames.push('inline-grid');
else newClassNames.push('grid'); else newClassNames.push('grid');

View File

@ -2,7 +2,6 @@ $nitro-card-header-height: 33px;
$nitro-card-tabs-height: 33px; $nitro-card-tabs-height: 33px;
.nitro-card { .nitro-card {
pointer-events: all;
resize: both; resize: both;
@include media-breakpoint-down(sm) { @include media-breakpoint-down(sm) {

View File

@ -21,5 +21,6 @@
.draggable-window { .draggable-window {
display: inline-block; display: inline-block;
visibility: hidden; visibility: hidden;
pointer-events: all;
} }
} }