Update tab size section

Sebastian
2020-12-07 17:42:27 +00:00
parent a628d94709
commit 5c1c851e1f

@@ -31,16 +31,10 @@ someVariable.someMethod(
new LongClassNameWithSomeParameters(int foo, long bar)); new LongClassNameWithSomeParameters(int foo, long bar));
``` ```
# Firefox Tab Size in Gitlab # Tab Size in Gitlab
Create `$HOME/.mozilla/firefox/[your.profile.folder]/chrome/userContent.css` (if it doesn't exist) and add: By default Gitlab expands tabs to 8 characters in source code and diff views
rather than 4 that we use in Android Studio. As a result the code
```css looks very different in the browser than in the IDE. You can configure your
@-moz-document domain(code.briarproject.org) { personal tab width in your Gitlab [profile preferences](https://code.briarproject.org/profile/preferences)
.line { (Scroll to `Behavior``Tab width`)
-moz-tab-size: 4;
}
}
```
Restart your browser and enjoy a custom tab size in Gitlab's code and diffs.