Commit c5d95891 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '297502-update-styling' into 'master'

Update styling not to use fit-content prop

See merge request gitlab-org/gitlab!52109
parents 17f3e8ee 84e40bf2
...@@ -37,12 +37,6 @@ ...@@ -37,12 +37,6 @@
&.gl-modal .modal-md { &.gl-modal .modal-md {
max-width: 640px; max-width: 640px;
} }
// TODO: move to gitlab/ui utilities
// https://gitlab.com/gitlab-org/gitlab/-/issues/297502
.gl-w-fit-content {
width: fit-content;
}
} }
//// Copied from roadmaps.scss - adapted for on-call schedules //// Copied from roadmaps.scss - adapted for on-call schedules
......
...@@ -224,7 +224,7 @@ export default { ...@@ -224,7 +224,7 @@ export default {
</div> </div>
</gl-form-group> </gl-form-group>
</div> </div>
<div class="gl-w-fit-content"> <div class="gl-display-inline-block">
<gl-toggle <gl-toggle
v-model="endDateEnabled" v-model="endDateEnabled"
:label="$options.i18n.fields.endsOn.enableToggle" :label="$options.i18n.fields.endsOn.enableToggle"
...@@ -235,7 +235,7 @@ export default { ...@@ -235,7 +235,7 @@ export default {
<gl-card <gl-card
v-if="endDateEnabled" v-if="endDateEnabled"
data-testid="rotation-ends-on" data-testid="rotation-ends-on"
class="gl-border-gray-400 gl-bg-gray-10 gl-w-fit-content" class="gl-border-gray-400 gl-bg-gray-10"
> >
<gl-form-group <gl-form-group
:label="$options.i18n.fields.endsOn.title" :label="$options.i18n.fields.endsOn.title"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment