Skip to content

Commit

Permalink
Merge pull request #434 from alliance-genome/SCRUM-1494
Browse files Browse the repository at this point in the history
Error message box alignment fixed
  • Loading branch information
kthorat-prog authored Apr 25, 2022
2 parents 083440c + 284ebbe commit 3304d02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/cliapp/src/components/ErrorMessageComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { Message } from "primereact/message";
export function ErrorMessageComponent({ errorField, errorMessages: errorMessagesRow }) {
if(errorMessagesRow){
return (
<div>
<div style={{position:"absolute", paddingTop:"25px"}}>
<Message
severity={errorMessagesRow[errorField] ? errorMessagesRow[errorField].severity : ""}
text={errorMessagesRow[errorField] ? errorMessagesRow[errorField].message : ""}
style={{position:"absolute"}}
style={{position:"absolute", display: "inline-table"}}
/>
</div>
);
Expand Down

0 comments on commit 3304d02

Please sign in to comment.