Closed ZimGil closed 2 years ago
Thanks! Since tab-size
gets inherited it could also be set just once in e.g. the repository.html
. In that case it would also affect commit messages. WDYT?
Yeah Let's do it... I'll push a change a bit later :)
@campersau Would you say this should just go here?: https://github.com/FredrikNoren/ungit/blob/628301f0de022b070efa3a574212c8f43656d351/components/repository/repository.html#L1
Yes, I think that works fine.
@campersau I believe it's ready now
This PR will allow the user to specify
tab-size
for the diff view.Using tabs looks awful without this configuration (specially in
side-by-side
view) as it cause the text to be over indented as the defaulttab-size
value is 8.Before (Tab size default to 8):
After (Tab size set to 2):