Compare commits

..

2 Commits

Author SHA1 Message Date
bc6643a6c2 fix body overflow scroll 2026-01-06 17:38:18 +08:00
ec6b72042e generic KeyValue and LabelValue 2026-01-06 17:38:01 +08:00
2 changed files with 8 additions and 8 deletions

View File

@ -30,8 +30,8 @@ body {
width: 100% !important; width: 100% !important;
margin: 0; margin: 0;
padding: 0; padding: 0;
overflow-x: hidden !important; overflow-x: hidden;
overflow-y: scroll !important; overflow-y: auto;
font-family: var(--tui-font); font-family: var(--tui-font);
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;

View File

@ -69,12 +69,12 @@ export enum ImageType {
PIXELATED = "ir-pixelated" PIXELATED = "ir-pixelated"
} }
export type KeyValue<T> = { export type KeyValue<V, K = string> = {
key: string; key: K;
value: T; value: V;
} }
export type LabelValue<T> = { export type LabelValue<L, V = string> = {
label: string; label: L;
value: T; value: V;
} }