Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function App() {
</Panel>
<PanelResizeHandle className="w-2 bg-gutter dark:bg-gray-600 bg-gray-200 bg-no-repeat bg-center" />
<Panel defaultSize={50} minSize={25}>
<div className="bg-muted overflow-auto h-[70dvh] sm:h-full relative flex flex-col">
<div className="bg-muted overflow-auto h-full relative flex flex-col">
<div className="flex sm:items-center flex-col sm:flex-row justify-between p-4 gap-2 z-10">
<ToolSelector />
<div className="flex items-center gap-1">
Expand Down
2 changes: 1 addition & 1 deletion src/components/ast/css-ast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const CssAst: FC = () => {
return (
<Accordion
type="multiple"
className="px-8 font-mono space-y-3"
className="px-8 pb-4 font-mono space-y-3"
defaultValue={["0-StyleSheet"]}
>
<CssAstTreeItem
Expand Down
2 changes: 1 addition & 1 deletion src/components/ast/javascript-ast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const JavascriptAst: FC = () => {
return (
<Accordion
type="multiple"
className="px-8 font-mono space-y-3"
className="px-8 pb-4 font-mono space-y-3"
defaultValue={["0-Program"]}
>
<JavascriptAstTreeItem
Expand Down
2 changes: 1 addition & 1 deletion src/components/ast/json-ast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const JsonAst: FC = () => {
return (
<Accordion
type="multiple"
className="px-8 font-mono space-y-3"
className="px-8 pb-4 font-mono space-y-3"
defaultValue={["0-Document"]}
>
<JsonAstTreeItem
Expand Down
2 changes: 1 addition & 1 deletion src/components/ast/markdown-ast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const MarkdownAst: FC = () => {
return (
<Accordion
type="multiple"
className="px-8 font-mono space-y-3"
className="px-8 pb-4 font-mono space-y-3"
defaultValue={["0-root"]}
>
<MarkdownAstTreeItem
Expand Down
4 changes: 2 additions & 2 deletions src/components/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ export const Editor: FC<EditorProperties> = ({
}, [readOnly]);

const editorClasses = clsx("relative", {
"h-[calc(100vh-152px)]": readOnly,
"h-[calc(100vh-72px)]": !readOnly,
"h-[calc(100%-72px)]": readOnly,
"h-[calc(100%-57px)]": !readOnly,
});

const dropMessageClasses = clsx(
Expand Down
2 changes: 1 addition & 1 deletion src/components/scope/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const Scope: FC = () => {
return (
<Accordion
type="multiple"
className="px-8 font-mono space-y-3"
className="px-8 pb-4 font-mono space-y-3"
defaultValue={["0-global"]}
>
{scopeView === "flat" ? (
Expand Down