mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-22 08:38:29 +02:00
More tweaks
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user