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 {
<template #header>
<gl-search-box-by-type
v-model.trim="searchTerm"
class="namespace-search-box"
debounce="250"
:placeholder="$options.i18n.searchPlaceholder"
/>
......@@ -128,9 +129,9 @@ export default {
</div>
</template>
<style>
<style scoped>
/* 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;
}
</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