From 82fab2343fc9d6f4f0a22b6567ecf3d54d979f0e Mon Sep 17 00:00:00 2001 From: Ola Christensson Date: Tue, 10 Jan 2017 10:06:53 +0100 Subject: [PATCH] Display tabs with smaller widths for code blocks The default browser behavior is a tab width of 8 characters. This changes the width to 4 characters. --- app/assets/stylesheets/common/foundation/base.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/common/foundation/base.scss b/app/assets/stylesheets/common/foundation/base.scss index b4267e703fe..2a3c5588d02 100644 --- a/app/assets/stylesheets/common/foundation/base.scss +++ b/app/assets/stylesheets/common/foundation/base.scss @@ -85,6 +85,7 @@ fieldset { pre code { overflow: auto; + tab-size: 4; } // TODO figure out a clean place to put stuff like this