Fix alert height

This commit is contained in:
Bill 2022-03-15 15:12:23 -04:00
parent 9d00bdb4b9
commit 8899f8d0dd
2 changed files with 3 additions and 8 deletions

View File

@ -194,7 +194,7 @@
.nitro-alert { .nitro-alert {
width: 350px; width: 350px;
min-height: 130px; min-height: 150px;
max-height: 350px; max-height: 350px;
} }
@ -223,12 +223,7 @@
@include media-breakpoint-down(lg) { @include media-breakpoint-down(lg) {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center;
.draggable-window {
top: unset !important;
left: unset !important;
transform: none !important;
}
} }
.draggable-window { .draggable-window {

View File

@ -23,7 +23,7 @@ export const LayoutNotificationAlertView: FC<LayoutNotificationAlertViewProps> =
return ( return (
<NitroCardView classNames={ getClassNames } theme="primary-slim" { ...rest }> <NitroCardView classNames={ getClassNames } theme="primary-slim" { ...rest }>
<NitroCardHeaderView headerText={ title } onCloseClick={ close } /> <NitroCardHeaderView headerText={ title } onCloseClick={ close } />
<NitroCardContentView justifyContent="between" overflow="hidden" className="text-black"> <NitroCardContentView grow justifyContent="between" overflow="hidden" className="text-black">
{ children } { children }
</NitroCardContentView> </NitroCardContentView>
</NitroCardView> </NitroCardView>