Skip to content

Commit

Permalink
Fixed space issues (#1711)
Browse files Browse the repository at this point in the history
* Fixed space issues

* margin changes updated
  • Loading branch information
Bonymol-aot authored Nov 14, 2023
1 parent c23ee6b commit b38297e
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const HistoryList = React.memo((props) => {
<div className="">
<div className="main-header">
<h3 className="task-head">
<i className="fa fa-list" aria-hidden="true" />
<i className="fa fa-list mr-2" aria-hidden="true" />
&nbsp;<Translation>{(t) => t("Submission History")}</Translation>
</h3>
</div>
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Application/Details/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const Details = React.memo((props) => {
spinner
text={t("Select a task in the list.")}
>
<div className="row m-0 bg-white p-3" style={{ fontWeight: "500px" }}>
<div className="col-md-6">
<div className="row m-0 bg-white py-3" style={{ fontWeight: "500px" }}>
<div className="col-md-6 px-0">
<ApplicationDetails application={props.application} />
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Application/ViewApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ const ViewApplication = React.memo(() => {
<div className="">
<div className="d-flex align-items-center">
<Link title={t("Back to Submissions")} to={`${redirectUrl}application`} className="">
<i className="fa fa-chevron-left fa-lg" />
<i className="fa fa-chevron-left fa-lg mr-2" />
</Link>
<h3 className=" text-truncate">
<span className="application-head-details">
<i className="fa fa-list-alt" aria-hidden="true" />
<i className="fa fa-list-alt mr-2" aria-hidden="true" />
&nbsp; <Translation>{(t) => t("Submissions")}</Translation> /
</span>{" "}
{`${startCase(applicationDetail.applicationName)}`}
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Dashboard/CardFormCounter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const CardFormCounter = React.memo((props) => {
>
<div className="name">
<div className="d-flex align-items-center">
<i className="fa-solid fa-file-lines p-1" />
<i className="fa-solid fa-file-lines p-1 mr-2" />
<OverlayTrigger
placement="top"
delay={{ show: 0, hide: 400 }}
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Dashboard/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,12 @@ const Dashboard = React.memo(() => {
name: "Metrics",
count: totalItems,
onClick: () => dispatch(push(`${redirectUrl}metrics`)),
icon: "line-chart",
icon: "line-chart mr-2",
},
{
name: "Insights",
onClick: () => dispatch(push(`${redirectUrl}insights`)),
icon: "lightbulb-o",
icon: "lightbulb-o mr-2",
},
];
};
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Draft/Details/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const Details = React.memo((props) => {
spinner
text={t("Select a task in the list.")}
>
<div className="row m-0 bg-white p-3" style={{ fontWeight: "500px" }}>
<div className="col-md-6">
<div className="row m-0 bg-white py-3" style={{ fontWeight: "500px" }}>
<div className="col-md-6 px-0">
<DraftDetails draft={props.draft} />
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Draft/Edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,14 @@ const View = React.memo((props) => {
></SubmissionError>
{isAuthenticated ? (
<Link title={t("Back to Drafts")} to={`${redirectUrl}draft`} className="">
<i className="fa fa-chevron-left fa-lg" />
<i className="fa fa-chevron-left fa-lg mr-2" />
</Link>
) : null}

{form.title ? (
<h3 className="">
<span className="task-head-details">
<i className="fa-solid fa-file-lines" aria-hidden="true" /> &nbsp;{" "}
<i className="fa-solid fa-file-lines mr-2" aria-hidden="true" /> &nbsp;{" "}
{t("Drafts")}/
</span>{" "}
{textTruncate(60,40,form.title)}
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Draft/ViewDraft.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ const ViewDraft = React.memo(() => {
<div className="" id="main">
<div className="d-flex align-items-center">
<Link title={t("Back to Drafts")} to={`${redirectUrl}draft`} className="mt-1">
<i className="fa fa-chevron-left fa-lg" />
<i className="fa fa-chevron-left fa-lg mr-2" />
</Link>
<h3 className="">
<span className="application-head-details">
<i className="fa fa-list-alt" aria-hidden="true" />
<i className="fa fa-list-alt mr-2" aria-hidden="true" />
&nbsp; <Translation>{(t) => t("Drafts")}</Translation> /
</span>{" "}
{`${startCase(draftDetail.DraftName)}`}
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/Item/Submission/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const List = React.memo((props) => {
<h3 className="ml-3">
<span className="task-head-details d-flex align-items-center">
{" "}
<i className="fa-solid fa-file-lines" aria-hidden="true" />
<i className="fa-solid fa-file-lines mr-2" aria-hidden="true" />
<span className="forms-text">
<Translation>{(t) => t("Forms")}</Translation> /
</span>
Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Form/Item/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,14 +369,14 @@ const View = React.memo((props) => {
></SubmissionError>
{isAuthenticated ? (
<Link title={t("Back to Form List")} to={`${redirectUrl}form`}>
<i className="fa fa-chevron-left fa-lg" />
<i className="fa fa-chevron-left fa-lg mr-2" />
</Link>
) : null}

{form.title ? (
<h3 className="ml-3 text-truncate" style={{height :"45px"}}>
<span className="task-head-details">
<i className="fa-solid fa-file-lines" aria-hidden="true" /> &nbsp;{" "}
<i className="fa-solid fa-file-lines mr-2" aria-hidden="true" /> &nbsp;{" "}
{t("Forms")}/
</span>{" "}
{form.title}
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const List = React.memo((props) => {
return [
{
name: "Forms",
icon: "file-text-o",
icon: "file-text-o mr-2",
},
];
};
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/components/Form/Stepper.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class StepperPage extends PureComponent {
to={`${this.state.redirectUrl}form`}
title={t("Back to Form List")}
>
<i className="fa fa-chevron-left fa-lg m-3" />
<i className="fa fa-chevron-left fa-lg m-2" />
</Link>
) : null}
<div className="paper-root">
Expand Down
6 changes: 3 additions & 3 deletions forms-flow-web/src/components/Insights/Insights.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ const Insights = React.memo((props) => {
name: "Metrics",
count: totalItems,
onClick: () => dispatch(push(`${redirectUrl}metrics`)),
icon: "line-chart",
icon: "line-chart mr-2",
},
{
name: "Insights",
onClick: () => dispatch(push(`${redirectUrl}insights`)),
icon: "lightbulb-o",
icon: "lightbulb-o mr-2",
},
];
};
Expand Down Expand Up @@ -103,7 +103,7 @@ const Insights = React.memo((props) => {
role="main"
>
<h3 className="insight-title" data-testid="Dashboard">
<i className="fa fa-bars mr-1" />{" "}
<i className="fa fa-bars mr-2" />{" "}
<Translation>{(t) => t("Dashboard")}</Translation>
</h3>

Expand Down
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Modeler/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ export default React.memo(() => {
const headOptions = [
{
name: "BPMN",
icon: "fa-solid fa-gears",
icon: "fa-solid fa-gears mr-2",
onClick: () => {
handleChnageTab("BPMN");
},
},
{
name: "DMN",
icon: "fa-solid fa-gears",
icon: "fa-solid fa-gears mr-2",
onClick: () => {
handleChnageTab("DMN");
},
Expand Down
2 changes: 1 addition & 1 deletion forms-flow-web/src/containers/Head.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Head = React.memo((props) => {
style={{ marginTop: "5px" }}
aria-hidden="true"
/>
<span className="application-text">
<span className="application-text ml-2">
<Translation>{(t) => t(item?.name)}</Translation>
</span>
{item?.count ? (
Expand Down

0 comments on commit b38297e

Please sign in to comment.