mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 09:01:17 +00:00
chore(site): fix scrollbar colors, update server command
This commit is contained in:
parent
6c7455d47d
commit
fb27e0ca89
2 changed files with 26 additions and 4 deletions
|
|
@ -224,7 +224,7 @@ export function FeatureGrid() {
|
|||
application.
|
||||
</p>
|
||||
<div className="mt-auto relative z-10 p-3 bg-black/40 rounded-lg border border-white/5 font-mono text-xs text-green-400">
|
||||
$ sandbox-agent serve --port 4000
|
||||
$ sandbox-agent server
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,13 @@
|
|||
@apply bg-accent/30 text-white;
|
||||
}
|
||||
|
||||
/* Firefox scrollbar */
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #3f3f46 transparent;
|
||||
}
|
||||
|
||||
/* Webkit scrollbar */
|
||||
::-webkit-scrollbar {
|
||||
@apply w-2 h-2;
|
||||
}
|
||||
|
|
@ -33,11 +40,26 @@
|
|||
}
|
||||
|
||||
/* Code block scrollbars */
|
||||
pre::-webkit-scrollbar {
|
||||
@apply h-1.5;
|
||||
pre, code, .overflow-x-auto {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #52525b #18181b;
|
||||
}
|
||||
|
||||
pre::-webkit-scrollbar-thumb {
|
||||
pre::-webkit-scrollbar,
|
||||
code::-webkit-scrollbar,
|
||||
.overflow-x-auto::-webkit-scrollbar {
|
||||
@apply h-2;
|
||||
}
|
||||
|
||||
pre::-webkit-scrollbar-track,
|
||||
code::-webkit-scrollbar-track,
|
||||
.overflow-x-auto::-webkit-scrollbar-track {
|
||||
@apply bg-zinc-900;
|
||||
}
|
||||
|
||||
pre::-webkit-scrollbar-thumb,
|
||||
code::-webkit-scrollbar-thumb,
|
||||
.overflow-x-auto::-webkit-scrollbar-thumb {
|
||||
@apply bg-zinc-600 rounded-full;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue