mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-06 07:03:37 +00:00
Standardize margins and paddings across all chat styles
This commit is contained in:
parent
e8266b0356
commit
86cb5e0587
6 changed files with 158 additions and 12 deletions
|
|
@ -11,9 +11,8 @@
|
|||
|
||||
.readable-container p, .readable-container li {
|
||||
font-size: 16px !important;
|
||||
color: #efefef !important;
|
||||
margin-bottom: 22px;
|
||||
line-height: 1.4 !important;
|
||||
color: #efefef !important;
|
||||
}
|
||||
|
||||
.readable-container li > p {
|
||||
|
|
@ -30,4 +29,27 @@
|
|||
|
||||
.readable-container .hoverable {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Standard spacing */
|
||||
.readable-container :is(p, ul, ol) {
|
||||
margin: 1.25em 0 !important;
|
||||
}
|
||||
|
||||
.readable-container :is(p, ul, ol):first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.readable-container :is(p, ul, ol):last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.readable-container ul, .readable-container ol {
|
||||
padding-inline-start: 2em;
|
||||
}
|
||||
|
||||
.readable-container li {
|
||||
list-style-position: outside;
|
||||
margin-top: 0.5em !important;
|
||||
margin-bottom: 0.5em !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue