From f0bd78df3bc5a36873b6e5232460e0e8836a48cc Mon Sep 17 00:00:00 2001 From: Vanessa Otto <votto@gitlab.com> Date: Wed, 19 Jun 2024 17:28:23 +0000 Subject: [PATCH] Replace `.gl-text-transform-uppercase` with `.gl-uppercase` --- .../scan_result/rule/scan_filters/attribute_filters.vue | 2 +- .../components/policy_editor/section_layout.vue | 6 +----- .../application_settings/_elasticsearch_form.html.haml | 6 +++--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_result/rule/scan_filters/attribute_filters.vue b/ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_result/rule/scan_filters/attribute_filters.vue index ead3033a437d7..27f6cab6a67bf 100644 --- a/ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_result/rule/scan_filters/attribute_filters.vue +++ b/ee/app/assets/javascripts/security_orchestration/components/policy_editor/scan_result/rule/scan_filters/attribute_filters.vue @@ -64,7 +64,7 @@ export default { <label v-if="idx === 0" v-gl-tooltip class="gl-mb-0" :title="$options.i18n.labelTooltip">{{ $options.i18n.label }}</label> - <label v-else class="gl-mb-0 gl-text-transform-uppercase gl-w-11 gl-font-normal">{{ + <label v-else class="gl-mb-0 gl-uppercase gl-w-11 gl-font-normal">{{ $options.i18n.andOperator }}</label> </template> diff --git a/ee/app/assets/javascripts/security_orchestration/components/policy_editor/section_layout.vue b/ee/app/assets/javascripts/security_orchestration/components/policy_editor/section_layout.vue index 4a8208672b82d..1ac54918480d0 100644 --- a/ee/app/assets/javascripts/security_orchestration/components/policy_editor/section_layout.vue +++ b/ee/app/assets/javascripts/security_orchestration/components/policy_editor/section_layout.vue @@ -37,11 +37,7 @@ export default { <template> <div class="gl-display-flex gl-gap-3 security-policies-bg-gray-10 gl-rounded-base gl-p-5"> <div v-if="showLabel" class="gl-min-w-7"> - <label - data-testid="base-label" - for="content" - class="gl-text-transform-uppercase gl-font-lg gl-w-6 gl-pl-2" - > + <label data-testid="base-label" for="content" class="gl-uppercase gl-font-lg gl-w-6 gl-pl-2"> {{ ruleLabel }} </label> </div> diff --git a/ee/app/views/admin/application_settings/_elasticsearch_form.html.haml b/ee/app/views/admin/application_settings/_elasticsearch_form.html.haml index 749bec78ffe45..281afe2585e0c 100644 --- a/ee/app/views/admin/application_settings/_elasticsearch_form.html.haml +++ b/ee/app/views/admin/application_settings/_elasticsearch_form.html.haml @@ -280,7 +280,7 @@ = sprite_icon('clock', size: 16, css_class: 'gl-text-gray-700') .gl-font-size-h1.gl-font-bold.gl-m-0.gl-ml-3{ data: { testid: 'initial_queue_size' } } = @initial_queue_size - .gl-mt-3.gl-text-transform-uppercase + .gl-mt-3.gl-uppercase = s_('GlobalSearch|Initial indexing queue length') = render Pajamas::ButtonComponent.new(href: help_page_path('integration/advanced_search/elasticsearch_troubleshooting'), button_options: { data: { testid: 'initial_indexing_documentation' } }) do = s_('AdminArea|Documentation') @@ -292,7 +292,7 @@ = sprite_icon('retry', size: 16, css_class: 'gl-text-gray-700') .gl-font-size-h1.gl-font-bold.gl-m-0.gl-ml-3{ data: { testid: 'incremental_queue_size' } } = @incremental_queue_size - .gl-mt-3.gl-text-transform-uppercase + .gl-mt-3.gl-uppercase = s_('GlobalSearch|Incremental indexing queue length') = render Pajamas::ButtonComponent.new(href: help_page_path('integration/advanced_search/elasticsearch_troubleshooting'), button_options: { data: { testid: 'incremental_indexing_documentation' } }) do = s_('AdminArea|Documentation') @@ -306,7 +306,7 @@ = sprite_icon('project', size: 16, css_class: 'gl-text-gray-700') .gl-font-size-h1.gl-font-bold.gl-m-0.gl-ml-3{ data: { testid: 'projects_not_indexed_size' } } = @projects_not_indexed_count - .gl-mt-3.gl-text-transform-uppercase + .gl-mt-3.gl-uppercase = s_('GlobalSearch|projects not indexed') - if @projects_not_indexed_count > 0 - c.with_footer do -- GitLab