Skip to content
代码片段 群组 项目
未验证 提交 dd992ed8 编辑于 作者: Peter Hegman's avatar Peter Hegman 提交者: GitLab
浏览文件

Merge branch '482681-remove-tab-width-X' into 'master'

Move CSS Classes `tab-width-X` from `utilities.scss` to `app/assets/stylesheets/framework/layout.scss`

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/170689



Merged-by: default avatarPeter Hegman <phegman@gitlab.com>
Approved-by: default avatarPeter Hegman <phegman@gitlab.com>
Co-authored-by: default avatarSujal Gupta <sujalgupta6100@gmail.com>
No related branches found
No related tags found
无相关合并请求
......@@ -169,3 +169,18 @@ html {
padding-right: 0;
}
}
/*
* These are used by the `Tab width` user preference in
* `https://gitlab.com/-/profile/preferences`. The `css_class_for_user` method in
* `lib/gitlab/tab_width.rb` is used to add one of these classes to the `body` element.
*/
@for $i from 1 through 12 {
#{'.tab-width-#{$i}'} {
/* stylelint-disable-next-line property-no-vendor-prefix */
-moz-tab-size: $i;
tab-size: $i;
}
}
......@@ -40,14 +40,6 @@ $type-scale: (
}
}
@for $i from 1 through 12 {
#{'.tab-width-#{$i}'} {
/* stylelint-disable-next-line property-no-vendor-prefix */
-moz-tab-size: $i;
tab-size: $i;
}
}
// stylelint-disable-next-line gitlab/no-gl-class
.gl-top-app-header {
top: $calc-application-header-height;
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册