Commit 9e8fc4be authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '267505-mobile-empty-screen-svg-overlap' into 'master'

Class and markup cleanup to prevent SVG header bar overlap

See merge request gitlab-org/gitlab!45334
parents 37b4a3e1 d260143d
...@@ -61,45 +61,46 @@ export default { ...@@ -61,45 +61,46 @@ export default {
}; };
</script> </script>
<template> <template>
<div class="container gl-flex-grow-1 gl-display-flex gl-flex-direction-column"> <div>
<div <div class="gl-border-b-solid gl-border-b-1 gl-border-b-gray-100">
v-if="savedContentMeta"
class="gl-fixed gl-left-0 gl-right-0 gl-border-b-solid gl-border-b-1 gl-border-b-gray-100"
>
<div class="container gl-py-4"> <div class="container gl-py-4">
<gl-button <div class="gl-display-flex">
v-if="appData.returnUrl" <gl-button
ref="returnToSiteButton" v-if="appData.returnUrl"
class="gl-mr-5" ref="returnToSiteButton"
:href="appData.returnUrl" class="gl-mr-5 gl-align-self-start"
>{{ $options.returnToSiteBtnText }}</gl-button :href="appData.returnUrl"
> >{{ $options.returnToSiteBtnText }}</gl-button
<strong> >
{{ updatedFileDescription }} <strong class="gl-mt-2">
</strong> {{ updatedFileDescription }}
</strong>
</div>
</div> </div>
</div> </div>
<gl-empty-state <div class="container">
class="gl-my-9" <gl-empty-state
:title="savedContentMeta ? $options.title : $options.submittingTitle" class="gl-my-7"
:primary-button-text="savedContentMeta && $options.primaryButtonText" :title="savedContentMeta ? $options.title : $options.submittingTitle"
:primary-button-link="savedContentMeta && savedContentMeta.mergeRequest.url" :primary-button-text="savedContentMeta && $options.primaryButtonText"
:svg-path="mergeRequestsIllustrationPath" :primary-button-link="savedContentMeta && savedContentMeta.mergeRequest.url"
:svg-height="146" :svg-path="mergeRequestsIllustrationPath"
> :svg-height="146"
<template #description> >
<div v-if="savedContentMeta"> <template #description>
<p>{{ $options.mergeRequestInstructionsHeading }}</p> <div v-if="savedContentMeta">
<p>{{ $options.addTitleInstruction }}</p> <p>{{ $options.mergeRequestInstructionsHeading }}</p>
<p>{{ $options.addDescriptionInstruction }}</p> <p>{{ $options.addTitleInstruction }}</p>
<p>{{ $options.assignMergeRequestInstruction }}</p> <p>{{ $options.addDescriptionInstruction }}</p>
</div> <p>{{ $options.assignMergeRequestInstruction }}</p>
<div v-else> </div>
<p>{{ $options.submittingNotePrimary }}</p> <div v-else>
<p>{{ $options.submittingNoteSecondary }}</p> <p>{{ $options.submittingNotePrimary }}</p>
<gl-loading-icon size="xl" /> <p>{{ $options.submittingNoteSecondary }}</p>
</div> <gl-loading-icon size="xl" />
</template> </div>
</gl-empty-state> </template>
</gl-empty-state>
</div>
</div> </div>
</template> </template>
---
title: Class and markup cleanup to prevent SVG header bar overlap in Static Site Editor
merge_request: 45334
author:
type: fixed
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