Commit b3cad6c6 authored by Mireya Andres's avatar Mireya Andres Committed by Enrique Alcántara

Default to fluid layout for the pipeline editor

The pipeline editor will now be shown in full-width regardless of the user's
layout preference. The extra space will be utilized for more upcoming
features.

Changelog: changed
parent 5119fc16
......@@ -90,7 +90,7 @@ export default {
</script>
<template>
<div class="gl-pr-9 gl-transition-medium gl-w-full">
<div class="gl-pr-10 gl-transition-medium gl-w-full">
<gl-modal
v-if="showSwitchBranchModal"
visible
......
......@@ -311,3 +311,8 @@ $gl-line-height-42: px-to-rem(42px);
padding-right: $gl-spacing-scale-5;
}
}
// Will be moved to @gitlab/ui by https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/2600
.gl-pr-10 {
padding-right: $gl-spacing-scale-10;
}
......@@ -125,7 +125,7 @@ module PageLayoutHelper
end
def fluid_layout
current_user && current_user.layout == "fluid"
@force_fluid_layout == true || (current_user && current_user.layout == "fluid")
end
def blank_container(enabled = false)
......
- @force_fluid_layout = true
- add_page_specific_style 'page_bundles/pipelines'
- page_title s_('Pipelines|Pipeline Editor')
......
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