From 21431c9107a325dbb030904e60079d8fdf47e64e 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 b4267e703f..2a3c5588d0 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