Polish UI: fix reply box cutoff, refine scrollbars and text rendering

This commit is contained in:
Abhinav Raut
2026-04-05 20:42:55 +05:30
parent 54ecfb1c84
commit 21824f6de9
2 changed files with 20 additions and 13 deletions
@@ -1,5 +1,5 @@
<template>
<div class="flex flex-col h-screen">
<div class="flex flex-col h-full">
<!-- Header -->
<div class="h-12 flex-shrink-0 px-2 border-b flex items-center justify-between">
<div>
@@ -37,9 +37,7 @@
<!-- Messages & reply box -->
<div class="flex flex-col flex-grow overflow-hidden">
<MessageList class="flex-1 overflow-y-auto" />
<div class="sticky bottom-0">
<ReplyBox />
</div>
<ReplyBox />
</div>
</div>
</template>
+18 -9
View File
@@ -13,9 +13,16 @@
min-height: 100%;
overflow: hidden;
margin: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@apply bg-background text-foreground;
}
::selection {
background: hsl(var(--primary) / 0.15);
color: hsl(var(--primary));
}
@media (max-width: 768px) {
html,
body {
@@ -65,7 +72,7 @@
cursor: pointer;
&:hover {
color: #003d7a;
color: #004d99;
}
}
@@ -199,7 +206,7 @@
}
.overlay {
background: rgba(0, 0, 0, 0.6);
background: hsl(var(--foreground) / 0.5);
}
.text-sm-muted {
@@ -225,11 +232,11 @@
// Scrollbar start
* {
scrollbar-width: auto;
scrollbar-color: theme('colors.gray.300') transparent;
scrollbar-color: hsl(var(--border)) transparent;
}
.dark * {
scrollbar-color: theme('colors.gray.600') transparent;
scrollbar-color: hsl(var(--border)) transparent;
}
@supports selector(::-webkit-scrollbar) {
@@ -252,19 +259,20 @@
}
*::-webkit-scrollbar-thumb {
@apply bg-gray-300 rounded;
background: hsl(var(--border));
border-radius: 3px;
}
*::-webkit-scrollbar-thumb:hover {
@apply bg-gray-400;
background: hsl(var(--muted-foreground) / 0.5);
}
.dark *::-webkit-scrollbar-thumb {
@apply bg-gray-600;
background: hsl(var(--border));
}
.dark *::-webkit-scrollbar-thumb:hover {
@apply bg-gray-500;
background: hsl(var(--muted-foreground) / 0.5);
}
}
// Scrollbar end
@@ -313,7 +321,8 @@
// Components
@layer components {
.link-style {
@apply text-blue-500 hover:underline;
color: #0066cc;
@apply hover:underline;
}
}