mirror of
https://github.com/karpathy/nanochat.git
synced 2025-12-09 05:42:22 +00:00
Fix conversation scroll to bottom on some browsers + remove duplicated padding
This commit is contained in:
parent
4a87a0d19f
commit
e50896dcdc
|
|
@ -14,6 +14,11 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html, body{
|
||||||
|
height: 100%;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
|
|
@ -107,7 +112,6 @@
|
||||||
.message.assistant .message-content {
|
.message.assistant .message-content {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 0.25rem 0;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 0.5rem;
|
border-radius: 0.5rem;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user