Log In  
Log In  

In the expandable textarea you get when you click Code under a cart, tabs are defaulting to 8 spaces, which is really ugly and rapidly pushes off of the right.

I found info here on how to fix it. If we assume that you're setting tabs to a default of 2 spaces in 0.1.12, then you'd want to do this for the code textarea:

style: -moz-tab-size: 2; -o-tab-size: 2; tab-size: 2;

Because intarwebz haz standardz. I mean, look at that crap. Not just three versions, but two start with hyphens. WTF.

You should also do this for the div surrounding [code]...[/code] regions of posts.

PS: Remember also to fix the broken glyph translation in the textarea.

P#53425 2018-06-09 16:36 ( Edited 2018-06-10 11:52)

What's that saying ... Standards are great, everybody has one!

P#53439 2018-06-10 06:09 ( Edited 2018-06-10 10:09)
:: Felice

I actually discovered a dumb dependent-bug-ordering roadblock in Firefox's bugzilla as a result of this and (I hope) got them on the road to supporting 'tab-size' instead of making everyone use -moz-tab-size.

So... yay?

P#53443 2018-06-10 07:46 ( Edited 2018-06-10 11:46)
:: Felice

Also, looks like Opera now supports 'tab-size' through its use of Chromium under the hood, so the '-o-tab-size' bit is probably not needed.

P#53444 2018-06-10 07:52 ( Edited 2018-06-10 11:52)

[Please log in to post a comment]

X
About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-03-22 03:56 | 0.012s | 2097k | Q:15