mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-09-24 03:16:20 +00:00
Polish UI: fix reply box cutoff, refine scrollbars and text rendering
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user