Commit 3434cc74 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Replace `m-2` class with `gl-m-3`

Replace the m-2 class with the
utility css class gl-m-2

Update some snapshot specs
parent c9450eab
...@@ -67,7 +67,7 @@ export default { ...@@ -67,7 +67,7 @@ export default {
</script> </script>
<template> <template>
<gl-deprecated-dropdown :text="value"> <gl-deprecated-dropdown :text="value">
<gl-search-box-by-type v-model.trim="searchTerm" class="m-2" /> <gl-search-box-by-type v-model.trim="searchTerm" class="gl-m-3" />
<gl-deprecated-dropdown-item <gl-deprecated-dropdown-item
v-for="environment in filteredResults" v-for="environment in filteredResults"
:key="environment" :key="environment"
......
...@@ -130,7 +130,7 @@ export default { ...@@ -130,7 +130,7 @@ export default {
<gl-search-box-by-type <gl-search-box-by-type
v-model.trim="searchQuery" v-model.trim="searchQuery"
:placeholder="s__('ClusterIntegration|Search domains')" :placeholder="s__('ClusterIntegration|Search domains')"
class="m-2" class="gl-m-3"
/> />
<gl-deprecated-dropdown-item <gl-deprecated-dropdown-item
v-for="domain in filteredDomains" v-for="domain in filteredDomains"
......
...@@ -278,7 +278,7 @@ export default { ...@@ -278,7 +278,7 @@ export default {
" "
@hide="resetDropdown" @hide="resetDropdown"
> >
<gl-search-box-by-type v-model.trim="searchTerm" class="m-2" /> <gl-search-box-by-type v-model.trim="searchTerm" class="gl-m-3" />
<div v-if="isFetching" class="gl-text-center"> <div v-if="isFetching" class="gl-text-center">
<gl-loading-icon /> <gl-loading-icon />
......
...@@ -184,7 +184,7 @@ export default { ...@@ -184,7 +184,7 @@ export default {
<gl-search-box-by-type <gl-search-box-by-type
v-model.trim="searchQuery" v-model.trim="searchQuery"
class="m-2" class="gl-m-3"
:placeholder="this.$options.translations.searchMilestones" :placeholder="this.$options.translations.searchMilestones"
@input="searchMilestones" @input="searchMilestones"
/> />
......
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
> >
<div class="d-flex flex-column overflow-hidden"> <div class="d-flex flex-column overflow-hidden">
<gl-new-dropdown-header>{{ __('Environment') }}</gl-new-dropdown-header> <gl-new-dropdown-header>{{ __('Environment') }}</gl-new-dropdown-header>
<gl-search-box-by-type class="m-2" @input="debouncedEnvironmentsSearch" /> <gl-search-box-by-type class="gl-m-3" @input="debouncedEnvironmentsSearch" />
<gl-loading-icon v-if="environmentsLoading" :inline="true" /> <gl-loading-icon v-if="environmentsLoading" :inline="true" />
<div v-else class="flex-fill overflow-auto"> <div v-else class="flex-fill overflow-auto">
......
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
<gl-search-box-by-type <gl-search-box-by-type
ref="monitorDashboardsDropdownSearch" ref="monitorDashboardsDropdownSearch"
v-model="searchTerm" v-model="searchTerm"
class="m-2" class="gl-m-3"
/> />
<div class="flex-fill overflow-auto"> <div class="flex-fill overflow-auto">
......
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
<gl-new-dropdown-divider /> <gl-new-dropdown-divider />
<gl-search-box-by-type <gl-search-box-by-type
v-model.trim="authorInput" v-model.trim="authorInput"
class="m-2" class="gl-m-3"
:placeholder="__('Search')" :placeholder="__('Search')"
@input="searchAuthors" @input="searchAuthors"
/> />
......
...@@ -78,7 +78,7 @@ export default { ...@@ -78,7 +78,7 @@ export default {
</template> </template>
<gl-search-box-by-type <gl-search-box-by-type
v-model.trim="environmentSearch" v-model.trim="environmentSearch"
class="m-2" class="gl-m-3"
@input="fetchEnvironments" @input="fetchEnvironments"
/> />
<gl-loading-icon v-if="isLoading" /> <gl-loading-icon v-if="isLoading" />
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
<template> <template>
<gl-deprecated-dropdown :text="dropdownTitle" @show="fetchSyncNamespaces('')"> <gl-deprecated-dropdown :text="dropdownTitle" @show="fetchSyncNamespaces('')">
<gl-search-box-by-type class="m-2" :debounce="500" @input="fetchSyncNamespaces" /> <gl-search-box-by-type class="gl-m-3" :debounce="500" @input="fetchSyncNamespaces" />
<li v-for="namespace in synchronizationNamespaces" :key="namespace.id"> <li v-for="namespace in synchronizationNamespaces" :key="namespace.id">
<gl-deprecated-button class="d-flex align-items-center" @click="toggleNamespace(namespace)"> <gl-deprecated-button class="d-flex align-items-center" @click="toggleNamespace(namespace)">
<gl-icon :class="[{ invisible: !isSelected(namespace) }]" name="mobile-issue-close" /> <gl-icon :class="[{ invisible: !isSelected(namespace) }]" name="mobile-issue-close" />
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
v-if="filter.options.length >= 20" v-if="filter.options.length >= 20"
ref="searchBox" ref="searchBox"
v-model="filterTerm" v-model="filterTerm"
class="m-2" class="gl-m-3"
:placeholder="__('Filter...')" :placeholder="__('Filter...')"
/> />
......
...@@ -369,7 +369,7 @@ export default { ...@@ -369,7 +369,7 @@ export default {
<gl-skeleton-loading <gl-skeleton-loading
v-for="n in $options.VULNERABILITIES_PER_PAGE" v-for="n in $options.VULNERABILITIES_PER_PAGE"
:key="n" :key="n"
class="m-2 js-skeleton-loader" class="gl-m-3 js-skeleton-loader"
:lines="2" :lines="2"
/> />
</template> </template>
......
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
data-track-label="review_app" data-track-label="review_app"
@click="ok" @click="ok"
> >
<gl-search-box-by-type v-model.trim="changesSearchTerm" class="m-2" /> <gl-search-box-by-type v-model.trim="changesSearchTerm" class="gl-m-3" />
<template #button-content> <template #button-content>
{{ s__('VisualReviewApp|Open review app') }} {{ s__('VisualReviewApp|Open review app') }}
<gl-icon class="fgray" name="external-link" /> <gl-icon class="fgray" name="external-link" />
......
...@@ -114,7 +114,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = ...@@ -114,7 +114,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
<!----> <!---->
<div <div
class="gl-search-box-by-type m-2" class="gl-search-box-by-type gl-m-3"
> >
<svg <svg
class="gl-search-box-by-type-search-icon gl-icon s16" class="gl-search-box-by-type-search-icon gl-icon s16"
...@@ -225,7 +225,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] = ...@@ -225,7 +225,7 @@ exports[`JiraImportForm table body shows correct information in each cell 1`] =
<!----> <!---->
<div <div
class="gl-search-box-by-type m-2" class="gl-search-box-by-type gl-m-3"
> >
<svg <svg
class="gl-search-box-by-type-search-icon gl-icon s16" class="gl-search-box-by-type-search-icon gl-icon s16"
......
...@@ -23,12 +23,12 @@ exports[`Dashboard template matches the default snapshot 1`] = ` ...@@ -23,12 +23,12 @@ exports[`Dashboard template matches the default snapshot 1`] = `
toggle-class="dropdown-menu-toggle" toggle-class="dropdown-menu-toggle"
/> />
</div> </div>
<span <span
aria-hidden="true" aria-hidden="true"
class="gl-pl-3 border-left gl-mb-3 d-none d-sm-block" class="gl-pl-3 border-left gl-mb-3 d-none d-sm-block"
/> />
<div <div
class="mb-2 pr-2 d-flex d-sm-block" class="mb-2 pr-2 d-flex d-sm-block"
> >
...@@ -50,28 +50,28 @@ exports[`Dashboard template matches the default snapshot 1`] = ` ...@@ -50,28 +50,28 @@ exports[`Dashboard template matches the default snapshot 1`] = `
<gl-new-dropdown-header-stub> <gl-new-dropdown-header-stub>
Environment Environment
</gl-new-dropdown-header-stub> </gl-new-dropdown-header-stub>
<gl-search-box-by-type-stub <gl-search-box-by-type-stub
class="m-2" class="gl-m-3"
clearbuttontitle="Clear" clearbuttontitle="Clear"
value="" value=""
/> />
<div <div
class="flex-fill overflow-auto" class="flex-fill overflow-auto"
/> />
<div <div
class="text-secondary no-matches-message" class="text-secondary no-matches-message"
> >
No matching results No matching results
</div> </div>
</div> </div>
</gl-new-dropdown-stub> </gl-new-dropdown-stub>
</div> </div>
<div <div
class="mb-2 pr-2 d-flex d-sm-block" class="mb-2 pr-2 d-flex d-sm-block"
> >
...@@ -83,24 +83,24 @@ exports[`Dashboard template matches the default snapshot 1`] = ` ...@@ -83,24 +83,24 @@ exports[`Dashboard template matches the default snapshot 1`] = `
value="[object Object]" value="[object Object]"
/> />
</div> </div>
<div <div
class="mb-2 pr-2 d-flex d-sm-block" class="mb-2 pr-2 d-flex d-sm-block"
> >
<refresh-button-stub /> <refresh-button-stub />
</div> </div>
<div <div
class="flex-grow-1" class="flex-grow-1"
/> />
<div <div
class="d-sm-flex" class="d-sm-flex"
> >
<!----> <!---->
<!----> <!---->
<div <div
class="gl-mb-3 gl-mr-3 d-flex d-sm-block" class="gl-mb-3 gl-mr-3 d-flex d-sm-block"
> >
...@@ -111,11 +111,11 @@ exports[`Dashboard template matches the default snapshot 1`] = ` ...@@ -111,11 +111,11 @@ exports[`Dashboard template matches the default snapshot 1`] = `
validatequerypath="/monitoring/monitor-project/prometheus/metrics/validate_query" validatequerypath="/monitoring/monitor-project/prometheus/metrics/validate_query"
/> />
</div> </div>
<!----> <!---->
</div> </div>
</div> </div>
<empty-state-stub <empty-state-stub
clusterspath="/monitoring/monitor-project/-/clusters" clusterspath="/monitoring/monitor-project/-/clusters"
documentationpath="/help/administration/monitoring/prometheus/index.md" documentationpath="/help/administration/monitoring/prometheus/index.md"
......
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