summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Logs.js5
-rw-r--r--src/components/Logs.module.scss1
2 files changed, 4 insertions, 2 deletions
diff --git a/src/components/Logs.js b/src/components/Logs.js
index 43f64a9..c781866 100644
--- a/src/components/Logs.js
+++ b/src/components/Logs.js
@@ -74,7 +74,10 @@ export default function Logs() {
<ContentHeader title="Logs" />
<div ref={refLogsContainer} style={{ paddingBottom }}>
{logs.length === 0 ? (
- <div className={s0.logPlaceholder}>
+ <div
+ className={s0.logPlaceholder}
+ style={{ height: containerHeight - paddingBottom }}
+ >
<div className={s0.logPlaceholderIcon}>
<Icon id={yacd.id} width={200} height={200} />
</div>
diff --git a/src/components/Logs.module.scss b/src/components/Logs.module.scss
index 4351bcb..7b32633 100644
--- a/src/components/Logs.module.scss
+++ b/src/components/Logs.module.scss
@@ -62,7 +62,6 @@ $heightHeader: 76px;
/////////
.logPlaceholder {
- height: calc(100vh - #{$heightHeader});
display: flex;
flex-direction: column;
align-items: center;