support pagination in webui preview

This commit is contained in:
hiyouga
2023-11-02 21:21:45 +08:00
parent 34d8b2e56c
commit c1edb0cf1b
10 changed files with 201 additions and 154 deletions

View File

@@ -6,7 +6,9 @@ CSS = r"""
transform: translate(-50%, -50%); /* center horizontally */
max-width: 1000px;
max-height: 750px;
overflow-y: auto;
background-color: var(--input-background-fill);
flex-wrap: nowrap !important;
border: 2px solid black !important;
z-index: 1000;
padding: 10px;