Skip to content

Set font-size globally in Storybook

Paul Gascou-Vaillancourt requested to merge storybook-global-line-height into main

This applies the gl-font-base mixin on .story-container to globally set the base font size in component stories. This prevents visual integration failures because of some stories inheriting font-size: 1rem from Bootstrap styles, while GitLab's base font size is actually .875rem.

Before After
label_height label_height_fixed
Edited by 🤖 GitLab Bot 🤖

Merge request reports