Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle committed Sep 28, 2023
1 parent a62ca78 commit d5781ba
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.withpagetitle {
padding: var(--bt-size-10) var(--bt-size-10) 0 var(--bt-size-10);
padding: 0 var(--bt-size-10) 0 var(--bt-size-10);
&__header_title {
height: 64px;
}
}
9 changes: 6 additions & 3 deletions ui/src/components/Hoc/withPageTitle/withPageTitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,17 @@ const withPageTitle = <T extends object>(
</div>
</HeadProvider>
{!NO_TITLE.includes(title) && (
<>
<Space align="center">
<div className={style.withpagetitle__header}>
<Space
align="center"
className={style.withpagetitle__header_title}
>
<Text text={title} level={3} />
{helpText && <HelpIcon helpText={helpText} />}
</Space>
<Text text={description} level={5} />
<br />
</>
</div>
)}

<WrappedComponent {...props} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
justify-content: center;
}

@media screen and (max-width: 550px) {
@media screen and (max-width: 900px) {
.fsb {
display: none;
}
Expand Down
Empty file.

0 comments on commit d5781ba

Please sign in to comment.