The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set tab width for viewing a file

Shahbaz Youssefi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 21, 2013

How does one configure the tab width when browsing a repository? Is there a global option to set when browsing any repository? Is there an option to customize this per repository?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
jhinch (Atlassian)
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2013

Currently there is no way to configure tab width in Stash as it is currently set via CSS. The current workaround is to use a browser extension which allows you to apply custom styles and apply the following:

.stash-theme pre.code,
.stash-theme .diff-view .source-container {
  -o-tab-size: 8;
  -moz-tab-size: 8;
  tab-size: 8;
}

TAGS
AUG Leaders

Atlassian Community Events