Commit 84c75d40 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '213009-when-filtering-by-groups-icons-are-misaligned' into 'master'

Improve spacing and wrapping of group actions buttons and stats

See merge request gitlab-org/gitlab!32786
parents 00e3bdf7 87477548
...@@ -122,7 +122,7 @@ export default { ...@@ -122,7 +122,7 @@ export default {
v-tooltip v-tooltip
:href="group.relativePath" :href="group.relativePath"
:title="group.fullName" :title="group.fullName"
class="no-expand gl-mt-3 gl-mr-3" class="no-expand gl-mt-3 gl-mr-3 gl-text-gray-900!"
data-placement="bottom" data-placement="bottom"
>{{ >{{
// ending bracket must be by closing tag to prevent // ending bracket must be by closing tag to prevent
......
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
:aria-label="leaveBtnTitle" :aria-label="leaveBtnTitle"
data-container="body" data-container="body"
data-placement="bottom" data-placement="bottom"
class="leave-group btn btn-xs no-expand" class="leave-group btn btn-xs no-expand gl-text-gray-700 gl-ml-5"
@click.prevent="onLeaveGroup" @click.prevent="onLeaveGroup"
> >
<icon name="leave" class="position-top-0" /> <icon name="leave" class="position-top-0" />
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
:aria-label="editBtnTitle" :aria-label="editBtnTitle"
data-container="body" data-container="body"
data-placement="bottom" data-placement="bottom"
class="edit-group btn btn-xs no-expand" class="edit-group btn btn-xs no-expand gl-text-gray-700 gl-ml-5"
> >
<icon name="settings" class="position-top-0 align-middle" /> <icon name="settings" class="position-top-0 align-middle" />
</a> </a>
......
...@@ -44,26 +44,26 @@ export default { ...@@ -44,26 +44,26 @@ export default {
</script> </script>
<template> <template>
<div class="stats"> <div class="stats gl-text-gray-700">
<item-stats-value <item-stats-value
v-if="isGroup" v-if="isGroup"
:title="__('Subgroups')" :title="__('Subgroups')"
:value="item.subgroupCount" :value="item.subgroupCount"
css-class="number-subgroups" css-class="number-subgroups gl-ml-5"
icon-name="folder-o" icon-name="folder-o"
/> />
<item-stats-value <item-stats-value
v-if="isGroup" v-if="isGroup"
:title="__('Projects')" :title="__('Projects')"
:value="item.projectCount" :value="item.projectCount"
css-class="number-projects" css-class="number-projects gl-ml-5"
icon-name="bookmark" icon-name="bookmark"
/> />
<item-stats-value <item-stats-value
v-if="isGroup" v-if="isGroup"
:title="__('Members')" :title="__('Members')"
:value="item.memberCount" :value="item.memberCount"
css-class="number-users" css-class="number-users gl-ml-5"
icon-name="users" icon-name="users"
/> />
<item-stats-value <item-stats-value
......
...@@ -14,17 +14,12 @@ ...@@ -14,17 +14,12 @@
flex-direction: column; flex-direction: column;
margin: 0; margin: 0;
.group-row-contents .controls > .btn:last-child {
margin: 0;
}
li { li {
.title { .title {
font-weight: 600; font-weight: 600;
} }
a { a {
color: $gray-900;
text-decoration: none; text-decoration: none;
&:hover { &:hover {
...@@ -42,8 +37,6 @@ ...@@ -42,8 +37,6 @@
} }
.group-row { .group-row {
@include basic-list-stats;
.description p { .description p {
margin-bottom: 0; margin-bottom: 0;
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
...@@ -454,29 +447,10 @@ table.pipeline-project-metrics tr td { ...@@ -454,29 +447,10 @@ table.pipeline-project-metrics tr td {
min-width: 30px; min-width: 30px;
} }
> span:last-child {
margin-right: 0;
}
.stat-value { .stat-value {
margin: 2px 0 0 5px; margin: 2px 0 0 5px;
} }
} }
.controls {
flex-basis: 90px;
> .btn {
margin: 0 $btn-side-margin 0 0;
color: $gl-text-color-secondary;
}
}
.metadata {
@include media-breakpoint-up(md) {
flex-basis: 240px;
}
}
} }
.project-row-contents .stats { .project-row-contents .stats {
......
---
title: Improve spacing and wrapping of group actions buttons and stats in group list
view
merge_request: 32786
author:
type: fixed
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