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

Merge branch 'tailwind/migrate-responsive-font-weight' into 'master'

Migrate responsive font weight utils to Tailwind

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



Merged-by: default avatarMark Florian <mflorian@gitlab.com>
Approved-by: default avatarJay Montal <jmontal@gitlab.com>
Approved-by: default avatarMark Florian <mflorian@gitlab.com>
Co-authored-by: default avatarlorenzvanherwaarden <lvanherwaarden@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -56,7 +56,7 @@ export default { ...@@ -56,7 +56,7 @@ export default {
'right-primary-text' 'right-primary-text'
] ]
" "
class="gl-display-flex gl-align-items-center gl-sm-text-body gl-sm-font-weight-bold gl-min-h-6" class="gl-display-flex gl-align-items-center gl-sm-text-body sm:gl-font-bold gl-min-h-6"
> >
<slot name="right-primary-text"></slot> <slot name="right-primary-text"></slot>
</div> </div>
......
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
headerClasses() { headerClasses() {
return this.useH1 return this.useH1
? 'gl-w-full gl-font-size-h-display gl-m-0!' ? 'gl-w-full gl-font-size-h-display gl-m-0!'
: 'gl-font-normal gl-sm-font-weight-bold gl-mb-1 gl-mt-0 gl-w-full'; : 'gl-font-normal sm:gl-font-bold gl-mb-1 gl-mt-0 gl-w-full';
}, },
}, },
methods: { methods: {
......
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
<h1 <h1
v-else v-else
data-testid="work-item-title" data-testid="work-item-title"
class="gl-w-full gl-font-normal gl-sm-font-weight-bold gl-mb-1 gl-mt-0 gl-font-size-h-display" class="gl-w-full gl-font-normal sm:gl-font-bold gl-mb-1 gl-mt-0 gl-font-size-h-display"
> >
{{ title }} {{ title }}
</h1> </h1>
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册