Our team has been using the Review Board for several months, and we still feel that it is okay.
However, Firefox will display the tab with 8 spaces, which makes us feel bad.
Who will display the tab as eight spaces in the editor? Our programming specification uses two spaces.
Fortunately there is Firefox No. 1 dead loyal, not hack uncomfortable driver muzuiget (http://twitter.com /#! /Muzuiget) immediately proposed two solutions to solve the problem.
First, install the stylish additional component, write a new style, and write the upper and lower linesCode:
@ Namespace URL (http://www.w3.org/1999/xhtml); <br/> @-moz-document URL-prefix (http://reviewboard.example.com) {<br/> body {<br/>-moz-tab-size: 4! Important; <br/>}< br/>
Replace example.com with your RB address, and then replace 4 with the tab-size you want.
The second is to directly install the CSS file of the hack reviewboard, which saves the trouble of installation. After all, it is not easy for everyone to install it. The files that require hack are stored in:
/Path/to/reviewboard/htdocs/Media/Rb/CSS/common.css
Get an editor and add a line in the front body block:
-Moz-tab-size: 4! Important;
That's it.
Well, don't ask me how to get it from IE or chrome, because I haven't used it for the time being, but you are welcome to reply to it. I wrote this for memo.