More tweaks

This commit is contained in:
Gregory Schier
2023-03-25 21:40:14 -07:00
parent 1e8498b52c
commit 567b516bd0
3 changed files with 12 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ const drag = { gridArea: 'drag' };
const DEFAULT = 0.5; const DEFAULT = 0.5;
const MIN_WIDTH_PX = 10; const MIN_WIDTH_PX = 10;
const MIN_HEIGHT_PX = 30; const MIN_HEIGHT_PX = 30;
const STACK_VERTICAL_WIDTH = 600; const STACK_VERTICAL_WIDTH = 650;
export const RequestResponse = memo(function RequestResponse({ style }: Props) { export const RequestResponse = memo(function RequestResponse({ style }: Props) {
const containerRef = useRef<HTMLDivElement>(null); const containerRef = useRef<HTMLDivElement>(null);

View File

@@ -64,7 +64,10 @@ export function Tabs<T>({
> >
<div <div
aria-label={label} aria-label={label}
className={classnames(tabListClassName, 'h-md flex items-center overflow-x-auto pb-0.5')} className={classnames(
tabListClassName,
'h-md flex items-center overflow-x-auto pb-0.5 hide-scrollbars',
)}
> >
<HStack space={1} className="flex-shrink-0"> <HStack space={1} className="flex-shrink-0">
{tabs.map((t) => { {tabs.map((t) => {

View File

@@ -23,6 +23,13 @@
cursor: default; cursor: default;
} }
.hide-scrollbars {
&::-webkit-scrollbar-corner,
&::-webkit-scrollbar {
display: none !important;
}
}
.destroy-pointer-event, .destroy-pointer-event,
.destroy-pointer-event * { .destroy-pointer-event * {
pointer-events: none !important; pointer-events: none !important;