Skip to content

Commit

Permalink
Fixed the design when there is no history of period
Browse files Browse the repository at this point in the history
  • Loading branch information
IraSoro committed Jul 7, 2024
1 parent 69f2208 commit 622f20d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 5 additions & 0 deletions src/pages/TabDetails.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ p.p_style {
margin-top: 5px;
}

p.no-periods {
font-size: 13px;
text-align: center;
}

#vertical-line-basic {
width: 2px;
height: 70px;
Expand Down
8 changes: 3 additions & 5 deletions src/pages/TabDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,9 @@ const TabDetails = () => {
{cycles.length > 1 && <ListProgress />}
</IonList>
) : (
<div id="progress-block">
<p style={{ fontSize: "13px" }}>
{t("You haven't marked any periods yet")}
</p>
</div>
<p className="no-periods">
{t("You haven't marked any periods yet")}
</p>
)}
</div>
</div>
Expand Down

0 comments on commit 622f20d

Please sign in to comment.