mirror of
https://github.com/aljazceru/AgentGPT.git
synced 2025-12-17 05:54:20 +01:00
🤖 Adjust margins
This commit is contained in:
@@ -47,7 +47,7 @@ const ChatWindow = ({ messages, children, className }: ChatWindowProps) => {
|
|||||||
>
|
>
|
||||||
<MacWindowHeader />
|
<MacWindowHeader />
|
||||||
<div
|
<div
|
||||||
className="mb-3 mr-3 h-[10em] overflow-y-auto overflow-x-hidden sm-h:h-[15em] md-h:h-[20em] lg-h:h-[30em] "
|
className="mb-2 mr-2 h-[11em] overflow-y-auto overflow-x-hidden sm-h:h-[16em] md-h:h-[21em] lg-h:h-[30em] "
|
||||||
ref={scrollRef}
|
ref={scrollRef}
|
||||||
onScroll={handleScroll}
|
onScroll={handleScroll}
|
||||||
>
|
>
|
||||||
@@ -86,7 +86,7 @@ const MacWindowHeader = () => {
|
|||||||
|
|
||||||
const ChatMessage = ({ message }: { message: Message }) => {
|
const ChatMessage = ({ message }: { message: Message }) => {
|
||||||
return (
|
return (
|
||||||
<div className="mx-4 my-1 rounded-lg border-[2px] border-white/10 bg-white/20 p-3 font-mono text-sm hover:border-[#1E88E5]/40 sm:text-base">
|
<div className="mx-2 my-1 rounded-lg border-[2px] border-white/10 bg-white/20 p-2 font-mono text-sm hover:border-[#1E88E5]/40 sm:mx-4 sm:p-3 sm:text-base">
|
||||||
<div className="mr-2 inline-block h-[0.9em]">
|
<div className="mr-2 inline-block h-[0.9em]">
|
||||||
{getMessageIcon(message)}
|
{getMessageIcon(message)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ const Home: NextPage = () => {
|
|||||||
<Drawer handleHelp={() => setShowModal(true)} />
|
<Drawer handleHelp={() => setShowModal(true)} />
|
||||||
<div
|
<div
|
||||||
id="content"
|
id="content"
|
||||||
className="z-10 flex h-screen w-full items-center justify-center p-2 px-4"
|
className="z-10 flex h-screen w-full items-center justify-center p-2 px-2 sm:px-4 md:px-10"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
id="layout"
|
id="layout"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ module.exports = {
|
|||||||
"xs": "300px",
|
"xs": "300px",
|
||||||
|
|
||||||
"sm-h": { "raw": "(min-height: 700px)" },
|
"sm-h": { "raw": "(min-height: 700px)" },
|
||||||
"md-h": { "raw": "(min-height: 900px)" },
|
"md-h": { "raw": "(min-height: 800px)" },
|
||||||
"lg-h": { "raw": "(min-height: 1000px)" },
|
"lg-h": { "raw": "(min-height: 1000px)" },
|
||||||
|
|
||||||
...defaultTheme.screens
|
...defaultTheme.screens
|
||||||
|
|||||||
Reference in New Issue
Block a user