Fix pre whitespace, log-pre-error margin, error log heading
This commit is contained in:
parent
ca55783b90
commit
02b4ad06ca
@ -200,12 +200,10 @@ function SettingsSection({ password, refreshKey }) {
|
|||||||
</form>
|
</form>
|
||||||
<div className="log-section">
|
<div className="log-section">
|
||||||
<h3>Nutzungslog (letzte 10 Einträge)</h3>
|
<h3>Nutzungslog (letzte 10 Einträge)</h3>
|
||||||
<pre className="log-pre">
|
<pre className="log-pre">{usageLog.length > 0 ? usageLog.join('\n') : '— keine Einträge —'}</pre>
|
||||||
{usageLog.length > 0 ? usageLog.join('\n') : '— keine Einträge —'}
|
|
||||||
</pre>
|
|
||||||
{errorLog.length > 0 && (
|
{errorLog.length > 0 && (
|
||||||
<>
|
<>
|
||||||
<h3>Fehlerlog</h3>
|
<h3>Fehlerlog (letzte 10 Einträge)</h3>
|
||||||
<pre className="log-pre log-pre-error">{errorLog.join('\n')}</pre>
|
<pre className="log-pre log-pre-error">{errorLog.join('\n')}</pre>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -484,4 +484,5 @@ tr:hover {
|
|||||||
.log-pre-error {
|
.log-pre-error {
|
||||||
background: #2d1b1b;
|
background: #2d1b1b;
|
||||||
color: #f5a0a0;
|
color: #f5a0a0;
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user