Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-03-25 12:09:44 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-03-25 12:09:44 +0300
commit618be8f52d6349533c709a1d702e45b84338c36a (patch)
tree1a9126420a9d60b967eb7665ec0632f44a7f7ee5 /app/assets
parent807d57c18fdde0d9ba991a2b3b078a74a7472f30 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/reports/components/report_section.vue11
-rw-r--r--app/assets/stylesheets/pages/events.scss19
2 files changed, 8 insertions, 22 deletions
diff --git a/app/assets/javascripts/reports/components/report_section.vue b/app/assets/javascripts/reports/components/report_section.vue
index ff58cd20ca1..77eddc54e3f 100644
--- a/app/assets/javascripts/reports/components/report_section.vue
+++ b/app/assets/javascripts/reports/components/report_section.vue
@@ -1,4 +1,5 @@
<script>
+import { GlButton } from '@gitlab/ui';
import { __ } from '~/locale';
import StatusIcon from '~/vue_merge_request_widget/components/mr_widget_status_icon.vue';
import Popover from '~/vue_shared/components/help_popover.vue';
@@ -8,9 +9,10 @@ import IssuesList from './issues_list.vue';
export default {
name: 'ReportSection',
components: {
+ GlButton,
IssuesList,
- StatusIcon,
Popover,
+ StatusIcon,
},
props: {
alwaysOpen: {
@@ -186,16 +188,15 @@ export default {
<slot name="action-buttons" :is-collapsible="isCollapsible"></slot>
- <button
+ <gl-button
v-if="isCollapsible"
- type="button"
+ class="js-collapse-btn"
data-testid="report-section-expand-button"
- class="js-collapse-btn btn float-right btn-sm align-self-center"
data-qa-selector="expand_report_button"
@click="toggleCollapsed"
>
{{ collapseText }}
- </button>
+ </gl-button>
</div>
</div>
diff --git a/app/assets/stylesheets/pages/events.scss b/app/assets/stylesheets/pages/events.scss
index 5738cbb4b31..c8da025131d 100644
--- a/app/assets/stylesheets/pages/events.scss
+++ b/app/assets/stylesheets/pages/events.scss
@@ -50,7 +50,7 @@
.event-user-info {
margin-bottom: $gl-padding-4;
- .author_name {
+ .author-name {
a {
color: $gl-text-color;
font-weight: $gl-font-weight-bold;
@@ -118,26 +118,11 @@
}
}
- .event_icon {
- position: relative;
- float: right;
- border: 1px solid $gray-darker;
- padding: 5px;
- border-radius: 5px;
- background: $gray-light;
- margin-left: 10px;
- top: -6px;
-
- img {
- width: 20px;
- }
- }
-
&:last-child {
border: 0;
}
- .event_commits {
+ .event-commits {
li {
&.commit {
background: transparent;