Skip to content

Conversation

@stephannv
Copy link
Contributor

Change codeblock tab size to 2. I think it is a good default value. I couldn't find a tailwind class to change tabsize, so I added an inline style to Codeblock.
Before:
Screenshot 2024-11-11 at 16 48 11

After:
Screenshot 2024-11-11 at 16 48 04

@stephannv stephannv self-assigned this Nov 11, 2024
@stephannv stephannv force-pushed the change_codeblock_tab_size branch from 1443d43 to 970acec Compare November 11, 2024 19:50
@stephannv stephannv requested a review from cirdes November 11, 2024 19:50

def default_attrs
{
style: {tab_size: 2},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️❤️

@stephannv stephannv merged commit 468d580 into ruby-ui:main Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants