Update globals.css

This commit is contained in:
MacRimi
2025-11-22 20:09:36 +01:00
parent 06f97b671f
commit cfed460eba

View File

@@ -141,7 +141,7 @@
/* ===================== */ /* ===================== */
/* Base Styles */ /* Base Styles */
/* ===================== */ /* ===================== */
/* Removed @layer base and converted @apply to native CSS for Tailwind v4 compatibility */ /* Removed @layer and converted to native CSS for Tailwind v4 compatibility */
* { * {
border-color: var(--border); border-color: var(--border);
outline-color: color-mix(in oklch, var(--ring), transparent 50%); outline-color: color-mix(in oklch, var(--ring), transparent 50%);
@@ -165,51 +165,53 @@ body {
/* ===================== */ /* ===================== */
/* Ajustes para Charts */ /* Ajustes para Charts */
/* ===================== */ /* ===================== */
@layer components { /* Removed @layer components and converted to native CSS */
/* Recharts axis */ /* Recharts axis */
.recharts-cartesian-axis-tick tspan { .recharts-cartesian-axis-tick tspan {
fill: var(--muted-foreground); fill: var(--muted-foreground);
} }
.recharts-cartesian-axis-line, .recharts-cartesian-axis-line,
.recharts-cartesian-grid line { .recharts-cartesian-grid line {
stroke: var(--border); stroke: var(--border);
} }
/* Chart.js axis */ /* Chart.js axis */
.chartjs-render-monitor text { .chartjs-render-monitor text {
fill: var(--muted-foreground); fill: var(--muted-foreground);
} }
.chartjs-render-monitor line { .chartjs-render-monitor line {
stroke: var(--border); stroke: var(--border);
} }
/* Fix xterm.js padding and centering issues */ /* ===================== */
.xterm { /* Terminal Fixes */
padding: 0 !important; /* ===================== */
margin: 0 !important; /* Fix xterm.js padding and centering issues for dialog menus */
width: 100% !important; .xterm {
height: 100% !important; padding: 0 !important;
} margin: 0 !important;
width: 100% !important;
.xterm .xterm-viewport { height: 100% !important;
width: 100% !important; }
overflow-y: scroll !important;
overflow-x: hidden !important; .xterm .xterm-viewport {
} width: 100% !important;
overflow-y: scroll !important;
.xterm .xterm-screen { overflow-x: hidden !important;
width: 100% !important; }
}
.xterm .xterm-screen {
/* Remove internal padding from xterm rows to fix menu centering */ width: 100% !important;
.xterm .xterm-rows { }
padding: 0 !important;
} /* Remove internal padding from xterm rows to fix menu centering */
.xterm .xterm-rows {
/* Ensure xterm helper elements don't interfere with layout */ padding: 0 !important;
.xterm .xterm-helpers { }
position: absolute;
top: 0; /* Ensure xterm helper elements don't interfere with layout */
left: 0; .xterm .xterm-helpers {
} position: absolute;
top: 0;
left: 0;
} }