Fix editor padding

This commit is contained in:
Gregory Schier
2023-03-15 17:29:35 -07:00
parent e3faf32708
commit 903db5fffd
3 changed files with 11 additions and 4 deletions

View File

@@ -56,8 +56,8 @@ export function UrlBar({ sendRequest, loading, onMethodChange, method, onUrlChan
<IconButton <IconButton
title="Send Request" title="Send Request"
type="submit" type="submit"
className="mr-0.5" color="custom"
size="sm" className="!px-2 mr-0.5"
icon={loading ? 'update' : 'paperPlane'} icon={loading ? 'update' : 'paperPlane'}
spin={loading} spin={loading}
disabled={loading} disabled={loading}

View File

@@ -12,6 +12,10 @@
outline: none !important; outline: none !important;
} }
.cm-content {
@apply py-0;
}
.cm-line { .cm-line {
@apply text-gray-900 pl-1 pr-1.5; @apply text-gray-900 pl-1 pr-1.5;
} }
@@ -137,7 +141,7 @@
.cm-singleline .cm-editor { .cm-singleline .cm-editor {
.cm-content { .cm-content {
@apply h-full flex items-center; @apply h-full flex items-center;
} }
} }

View File

@@ -37,7 +37,10 @@ export function Tabs({ defaultValue, label, children, tabs, className, tabListCl
> >
<T.List <T.List
aria-label={label} aria-label={label}
className={classnames(tabListClassName, 'h-auto flex items-center overflow-x-auto pb-1')} className={classnames(
tabListClassName,
'h-auto flex items-center overflow-x-auto pb-1 mb-1',
)}
> >
<HStack space={1}> <HStack space={1}>
{tabs.map((t) => { {tabs.map((t) => {