Commit 1942ea52 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'djadmin-fix-request-cve-sidebar' into 'master'

Fix styling for Request CVE button in sidebar

See merge request gitlab-org/gitlab!72952
parents fed0866a bcbda09b
......@@ -179,6 +179,7 @@
}
.block,
.sidebar-contained-width,
.issuable-sidebar-header {
@include clearfix;
padding: $gl-padding 0;
......@@ -317,6 +318,7 @@
padding: 0;
.block,
.sidebar-contained-width,
.issuable-sidebar-header {
width: $gutter-collapsed-width - 2px;
padding: 0;
......
<script>
import { GlLink, GlIcon, GlTooltipDirective } from '@gitlab/ui';
import { mapState } from 'vuex';
import { helpPagePath } from '~/helpers/help_page_helper';
import { createCveIdRequestIssueBody } from '~/helpers/cve_id_request_helper';
import { joinPaths } from '~/lib/utils/url_utility';
import { CVE_ID_REQUEST_SIDEBAR_I18N } from '../../constants';
export default {
......@@ -39,10 +39,7 @@ export default {
computed: {
...mapState({ confidential: (state) => state.noteableData.confidential }),
helpHref() {
return joinPaths(
gon.relative_url_root || '',
'/help/user/application_security/cve_id_request.md',
);
return helpPagePath('user/application_security/cve_id_request');
},
showHelpState() {
return Boolean(this.showHelp);
......@@ -76,7 +73,7 @@ export default {
</script>
<template>
<div v-if="confidential" class="cve-id-request gl-display-block gl-pb-0 gl-border-b-0">
<div v-if="confidential" class="sidebar-contained-width cve-id-request gl-pb-0 gl-border-b-0">
<div
v-gl-tooltip.viewport.left
:title="tooltipTitle"
......
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