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 27c67ca commit 7eabc03
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 @@ -50,7 +50,7 @@ export const StyledWarningMessage = styled.div`
display: flex;
align-items: center;
&.with-loader {
&.with-min-width {
min-width: 27rem;
}
`;
Expand Down
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 @@ -211,7 +211,7 @@ export const JoinProduction = ({ preSelected }: TProps) => {
))}
</FormSelect>
) : (
<StyledWarningMessage className="with-loader">
<StyledWarningMessage className="with-min-width">
Controlled by operating system
</StyledWarningMessage>
)}
Expand All @@ -238,7 +238,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 @@ -200,7 +200,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 7eabc03

Please sign in to comment.