Skip to content

Commit

Permalink
Merge pull request #13 from lukad/display-contents-for-wrapper
Browse files Browse the repository at this point in the history
Use display: contents in wrapper div
  • Loading branch information
leandrocp committed Aug 14, 2023
2 parents 92c4a66 + 1fce488 commit 046f263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/live_monaco_editor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ defmodule LiveMonacoEditor do
assigns = assign(assigns, :opts, opts)

~H"""
<div id={"lme-wrapper-code-#{random_id()}"} phx-update="ignore">
<div id={"lme-wrapper-code-#{random_id()}"} phx-update="ignore" style="display: contents">
<div
id={"lme-code-#{random_id()}"}
style={@style}
Expand Down

0 comments on commit 046f263

Please sign in to comment.