Commit 1d49a84b authored by Mike Greiling's avatar Mike Greiling

Use scoped css to fix style regression with search input

parent 90f72101
...@@ -103,6 +103,7 @@ export default { ...@@ -103,6 +103,7 @@ export default {
<template #header> <template #header>
<gl-search-box-by-type <gl-search-box-by-type
v-model.trim="searchTerm" v-model.trim="searchTerm"
class="namespace-search-box"
debounce="250" debounce="250"
:placeholder="$options.i18n.searchPlaceholder" :placeholder="$options.i18n.searchPlaceholder"
/> />
...@@ -128,9 +129,9 @@ export default { ...@@ -128,9 +129,9 @@ export default {
</div> </div>
</template> </template>
<style> <style scoped>
/* workaround position: relative imposed by .top-area .nav-controls */ /* workaround position: relative imposed by .top-area .nav-controls */
.top-area .nav-controls .gl-search-box-by-type-input { .namespace-search-box >>> input {
position: static; position: static;
} }
</style> </style>
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