Commit 2539f110 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Add generic media-section class to report_section

parent efdf7759
......@@ -40,14 +40,6 @@
.mr-widget-section,
.mr-widget-footer {
padding: $gl-padding;
.media {
align-items: center;
}
.code-text {
flex: 1;
}
}
.mr-state-widget {
......@@ -124,8 +116,10 @@
.modify-merge-commit-link {
padding: 0;
background-color: transparent;
border: 0;
color: $gl-text-color;
&:hover,
......
......@@ -61,7 +61,7 @@ export default {
<template>
<section
v-if="mr.approvalsRequired"
class="mr-widget-approvals-container mr-widget-section media bordered-widget-section"
class="mr-widget-approvals-container mr-widget-section media media-section"
>
<status-icon
:class="approvalsOptional ? 'zero-approvals' : ''"
......
......@@ -138,7 +138,7 @@ export default {
};
</script>
<template>
<section class="mr-widget-section bordered-widget-section">
<section class="media-section">
<div
class="media"
>
......
......@@ -23,14 +23,7 @@
}
}
.bordered-widget-section {
border: 1px solid $border-color;
margin-bottom: -1px;
&:first-of-type {
border-radius: $border-radius-default $border-radius-default 0 0;
}
.media-section {
@include media-breakpoint-down(md) {
align-items: flex-start;
......@@ -97,3 +90,25 @@
position: relative;
}
}
.mr-state-widget {
.media-section {
padding: $gl-padding;
border: 1px solid $border-color;
margin-bottom: -1px;
&:first-of-type {
border-radius: $border-radius-default $border-radius-default 0 0;
}
}
}
.mr-widget-section {
.media {
align-items: center;
}
.code-text {
flex: 1;
}
}
......@@ -164,11 +164,3 @@
display: none;
}
}
.build-security.tab-pane {
.mr-widget-section {
padding: 0;
border: 0;
border-bottom: 1px solid $gray-darker;
}
}
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