Skip to content

Commit

Permalink
Change Codeblock tab size (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephannv authored Nov 11, 2024
1 parent 992944d commit 468d580
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ruby_ui/codeblock/codeblock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def view_template

def default_attrs
{
style: {tab_size: 2},
class: "highlight text-sm max-h-[350px] after:content-none flex font-mono overflow-auto overflow-x rounded-md border !bg-stone-900 [&_pre]:p-4"
}
end
Expand Down

0 comments on commit 468d580

Please sign in to comment.