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 {
</script>
<template>
<div class="issuable-details content-block">
<div class="detail-page-description">
<div>
<div class="issuable-details detail-page-description content-block">
<issuable-body
:endpoint="endpoint"
: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', () => {
});
describe('template', () => {
it('renders component container element with classes `issuable-details` & `content-block`', () => {
expect(vm.$el.classList.contains('issuable-details')).toBe(true);
expect(vm.$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 container element with class `detail-page-description` & `issuable-details` & `content-block`', () => {
const el = vm.$el.querySelector('.detail-page-description');
expect(el).not.toBeNull();
expect(el.classList.contains('issuable-details')).toBe(true);
expect(el.classList.contains('content-block')).toBe(true);
});
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