diff options
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/utilities.scss | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/assets/stylesheets/utilities.scss b/app/assets/stylesheets/utilities.scss index eb9f7829436..d6aa63be996 100644 --- a/app/assets/stylesheets/utilities.scss +++ b/app/assets/stylesheets/utilities.scss @@ -278,3 +278,33 @@ $gl-line-height-42: px-to-rem(42px); .gl-pr-10 { padding-right: $gl-spacing-scale-10; } + +/* Will be moved to @gitlab/ui by https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1709 */ +.gl-md-grid-template-columns-2 { + @include media-breakpoint-up(md) { + grid-template-columns: 1fr 1fr; + } +} + +.gl-gap-6 { + gap: $gl-spacing-scale-6; +} + +$gl-spacing-scale-48: 48 * $grid-size; + +.gl-max-w-48 { + max-width: $gl-spacing-scale-48; +} + +$gl-spacing-scale-75: 75 * $grid-size; + +.gl-max-w-75 { + max-width: $gl-spacing-scale-75; +} + +.gl-md-pt-11 { + @include media-breakpoint-up(md) { + padding-top: $gl-spacing-scale-11 !important; // only need !important for now so that it overrides styles from @gitlab/ui which currently take precedence + } +} +/* End gitlab-ui#1709 */ |