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