Skip to content

Commit

Permalink
fix: updated class-name on warning-message
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Apr 24, 2024
1 parent bd394f9 commit 64de558
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/landing-page/form-elements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const StyledWarningMessage = styled.div`
display: flex;
align-items: center;
&.with-loader {
&.with-min-width {
min-width: 27rem;
}
`;
4 changes: 2 additions & 2 deletions src/components/landing-page/join-production.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export const JoinProduction = ({ preSelected }: TProps) => {
))}
</FormSelect>
) : (
<StyledWarningMessage className="with-loader">
<StyledWarningMessage className="with-min-width">
Controlled by operating system
</StyledWarningMessage>
)}
Expand All @@ -234,7 +234,7 @@ export const JoinProduction = ({ preSelected }: TProps) => {
))}
</FormSelect>
{!production && (
<StyledWarningMessage className="with-loader">
<StyledWarningMessage className="with-min-width">
Please enter a production id
{loading && <LoaderDots className="in-active" text="" />}
</StyledWarningMessage>
Expand Down
2 changes: 1 addition & 1 deletion src/components/manage-productions/manage-productions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export const ManageProductions = () => {
)}
</>
) : (
<StyledWarningMessage className="with-loader">
<StyledWarningMessage className="with-min-width">
Please enter a production id
{fetchLoader && <LoaderDots className="in-active" text="" />}
</StyledWarningMessage>
Expand Down

0 comments on commit 64de558

Please sign in to comment.