Skip to content

Commit 970acec

Browse files
committed
Change Codeblock tab size
1 parent 992944d commit 970acec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/ruby_ui/codeblock/codeblock.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def view_template
3434

3535
def default_attrs
3636
{
37+
style: {tab_size: 2},
3738
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"
3839
}
3940
end

0 commit comments

Comments
 (0)