More minor fixes

This commit is contained in:
Andras Schmelczer 2022-09-27 18:54:27 +02:00
parent 15e3c7497c
commit 135136a3f1
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
2 changed files with 2 additions and 5 deletions

View file

@ -18,6 +18,7 @@
> h1 { > h1 {
text-align: center; text-align: center;
margin-top: calc(var(--line-height) + 4px);
} }
} }
@ -46,10 +47,6 @@
margin: 0 0.75ex 0.5ex 0; margin: 0 0.75ex 0.5ex 0;
} }
} }
> h1 {
margin-top: 0;
}
} }
::selection { ::selection {

View file

@ -2,7 +2,7 @@ import { PageElement } from '../page-element';
import { generate } from './up-arrow-button.html'; import { generate } from './up-arrow-button.html';
export class UpArrowButton extends PageElement { export class UpArrowButton extends PageElement {
private static readonly defaultTimeToLive = 2000; private static readonly defaultTimeToLive = 3500;
private static readonly interval = 50; private static readonly interval = 50;
private timeToLive = 0; private timeToLive = 0;