mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +00:00
UI: Add padding to only show the last message/reply after sending a message
To avoid scrolling
This commit is contained in:
parent
d9da16edba
commit
690d693913
10 changed files with 25 additions and 20 deletions
|
|
@ -2,7 +2,8 @@
|
|||
display: grid;
|
||||
align-items: start;
|
||||
grid-template-columns: 60px minmax(0, 1fr);
|
||||
padding-bottom: 28px;
|
||||
padding-bottom: 14px;
|
||||
padding-top: 14px;
|
||||
font-size: 18px;
|
||||
font-family: Roboto, Arial, sans-serif; /* Modern font */
|
||||
line-height: 1.5;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
display: grid;
|
||||
align-items: start;
|
||||
grid-template-columns: 60px minmax(0, 1fr);
|
||||
padding-bottom: 28px;
|
||||
padding-bottom: 14px;
|
||||
padding-top: 14px;
|
||||
font-size: 18px;
|
||||
font-family: 'Noto Sans', Arial, sans-serif;
|
||||
line-height: 1.428571429;
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
}
|
||||
|
||||
.message {
|
||||
padding-bottom: 2em;
|
||||
padding-bottom: 1em;
|
||||
padding-top: 1em;
|
||||
grid-template-columns: 70px minmax(0, 1fr);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
display: grid;
|
||||
align-items: start;
|
||||
grid-template-columns: 60px minmax(0, 1fr);
|
||||
padding-bottom: 2em;
|
||||
padding-bottom: 1em;
|
||||
padding-top: 1em;
|
||||
font-size: 15px;
|
||||
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
||||
line-height: 22.5px !important;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
.message {
|
||||
padding-bottom: 25px;
|
||||
padding-bottom: 12.5px;
|
||||
padding-top: 12.5px;
|
||||
font-size: 15px;
|
||||
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
||||
line-height: 1.428571429;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
.message {
|
||||
padding-bottom: 25px;
|
||||
padding-bottom: 12.5px;
|
||||
padding-top: 12.5px;
|
||||
font-size: 15px;
|
||||
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
||||
line-height: 1.428571429;
|
||||
|
|
|
|||
|
|
@ -8,10 +8,6 @@
|
|||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
.chat > .messages > :last-child {
|
||||
margin-bottom: 1.7rem !important;
|
||||
}
|
||||
|
||||
.chat .message-body p, .chat .message-body li {
|
||||
font-size: 1rem !important;
|
||||
line-height: 28px !important;
|
||||
|
|
|
|||
|
|
@ -1375,7 +1375,3 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||
50% { opacity: 1; }
|
||||
100% { opacity: 0.6; }
|
||||
}
|
||||
|
||||
.streaming {
|
||||
min-height: 70vh;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue