Skip to content

Commit

Permalink
client: Decrease font size in LogsBox
Browse files Browse the repository at this point in the history
  • Loading branch information
XxRoloxX committed Dec 3, 2024
1 parent ac926f9 commit 0fe417c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
@media (max-width: $lg) {
display: flex;
flex-direction: column;
row-gap: 30px;
}
}

Expand All @@ -24,15 +25,18 @@
row-gap: 10px;
justify-content: center;
align-items: center;
width: 100%;
}

&__chart {
position: relative;
margin-top: 0;
display: flex;
align-items: center;
justify-content: center;
color: $navbar-text-color;
height: 500px;

@media (max-width: $lg) {
height: 300px !important;
}
}
}
6 changes: 1 addition & 5 deletions client/src/pages/Home/components/Subsection/Subsection.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
/* .report-details { */
/* &__subsection { */
/* margin-top: 0.5rem; */
/* } */
/* } */

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
overflow-y: auto;
color: $navbar-text-color;
white-space: pre-wrap;
font-size: 1.2rem;
font-size: 1rem;
cursor: pointer;
transition: all 1s;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const LogsBox = ({ logs }: LogsBoxParams) => {
className={isLogBoxExpanded ? 'logs-box--expanded' : 'logs-box'}
onClick={() => setIsLogBoxExpanded((prev) => !prev)}
>
{logs}
{logs.trim()}
</div>
</>
);
Expand Down
1 change: 0 additions & 1 deletion client/src/providers/AuthProvider/ProtectedLayout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.protected-layout {
display: flex;
flex-direction: row;
/* height: 100svh; */
width: 100vw;
flex-direction: row;
padding: 0rem;
Expand Down

0 comments on commit 0fe417c

Please sign in to comment.