Skip to content

Commit

Permalink
fix: make editor full width
Browse files Browse the repository at this point in the history
fixes #18
  • Loading branch information
Akeboshiwind committed Mar 15, 2024
1 parent a247a34 commit e05b185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xt_fiddle/client.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@

;; overflow-hidden fixes a bug where if an editor would have content that goes off the
;; screen the whole page would scroll.
[:div {:class "container mx-auto flex-grow overflow-hidden"}
[:div {:class "mx-4 flex-grow overflow-hidden"}
[:div {:class "h-full flex flex-col gap-2 py-2"}
[:section {:class "h-1/2 flex gap-2"}
(let [editor (case @(rf/subscribe [:get-type])
Expand Down

0 comments on commit e05b185

Please sign in to comment.