Commit 7aac9de3 authored by Paul Slaughter's avatar Paul Slaughter Committed by Enrique Alcantara

Move search_settings container to HAML

This way different views can easily adjust spacing
parent 543f7ed1
...@@ -118,12 +118,10 @@ export default { ...@@ -118,12 +118,10 @@ export default {
}; };
</script> </script>
<template> <template>
<div class="gl-mt-5">
<gl-search-box-by-type <gl-search-box-by-type
:value="searchTerm" :value="searchTerm"
:debounce="$options.TYPING_DELAY" :debounce="$options.TYPING_DELAY"
:placeholder="__('Search settings')" :placeholder="__('Search settings')"
@input="search" @input="search"
/> />
</div>
</template> </template>
- container_class = local_assigns.fetch(:container_class, 'gl-mt-5')
- if Feature.enabled?(:search_settings_in_page, @project, default_enabled: false) - if Feature.enabled?(:search_settings_in_page, @project, default_enabled: false)
%div{ class: container_class }
.js-search-settings-app .js-search-settings-app
%input.gl-form-input.form-control{ type: "text", placeholder: _("Search settings"), aria_label: _("Search settings"), disabled: true }
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