Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas '+ alert('Eipi') + ' Eipert <leipert@gitlab.com>2019-08-02 17:38:50 +0300
committerFatih Acet <acetfatih@gmail.com>2019-08-02 17:38:50 +0300
commitfc9f099884f6b98dea3f4e6110ecba6151fa75b8 (patch)
tree037c50677bea22d8e0b1733f210e08de01e32962 /app/assets/stylesheets/pages
parent0fec9a4fc7fae7480a92d6402d3ad144b4bd7233 (diff)
Prevent empty classes in ansi2html conversion
Currently we write out empty CSS classes (`class=""`) every time we create a new tag. This adds 9 unnecessary bytes per span element. In a recent trace, I have counted 11950 span elements. So we transported 105 unnecessary kilobytes!
Diffstat (limited to 'app/assets/stylesheets/pages')
-rw-r--r--app/assets/stylesheets/pages/builds.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss
index 6e98908eeed..262c0bf5ed2 100644
--- a/app/assets/stylesheets/pages/builds.scss
+++ b/app/assets/stylesheets/pages/builds.scss
@@ -127,6 +127,7 @@
.section-header ~ .section.line {
margin-left: $gl-padding;
+ display: block;
}
}