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

@@ -12,6 +12,10 @@
outline: none !important;
}
.cm-content {
@apply py-0;
}
.cm-line {
@apply text-gray-900 pl-1 pr-1.5;
}
@@ -137,7 +141,7 @@
.cm-singleline .cm-editor {
.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
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}>
{tabs.map((t) => {