Commit 60b3cf27 authored by Takuya Noguchi's avatar Takuya Noguchi

Remove an extra padding in y-axis on Epic detail

Signed-off-by: default avatarTakuya Noguchi <takninnovationresearch@gmail.com>
parent ff3e1f37
...@@ -44,8 +44,8 @@ export default { ...@@ -44,8 +44,8 @@ export default {
</script> </script>
<template> <template>
<div class="issuable-details content-block"> <div>
<div class="detail-page-description"> <div class="issuable-details detail-page-description content-block">
<issuable-body <issuable-body
:endpoint="endpoint" :endpoint="endpoint"
:update-endpoint="updateEndpoint" :update-endpoint="updateEndpoint"
......
---
title: Remove an extra padding in y-axis on Epic detail
merge_request: 37886
author: Takuya Noguchi
type: fixed
...@@ -37,13 +37,11 @@ describe('EpicBodyComponent', () => { ...@@ -37,13 +37,11 @@ describe('EpicBodyComponent', () => {
}); });
describe('template', () => { describe('template', () => {
it('renders component container element with classes `issuable-details` & `content-block`', () => { it('renders epic body container element with class `detail-page-description` & `issuable-details` & `content-block`', () => {
expect(vm.$el.classList.contains('issuable-details')).toBe(true); const el = vm.$el.querySelector('.detail-page-description');
expect(vm.$el.classList.contains('content-block')).toBe(true); expect(el).not.toBeNull();
}); expect(el.classList.contains('issuable-details')).toBe(true);
expect(el.classList.contains('content-block')).toBe(true);
it('renders epic body container element with class `detail-page-description`', () => {
expect(vm.$el.querySelector('.detail-page-description')).not.toBeNull();
}); });
it('renders epic body elements', () => { it('renders epic body elements', () => {
......
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