Group Overview list items layout regression
Summary
Recent change in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21033 is triggering
Steps to reproduce
- Go to the Group Overview page of a group with subgroups and multiple projects.
- Observe that the list items for projects is compressed (see screenshot below)
What is the current bug behavior?
What is the expected correct behavior?
Possible fixes
This seems to fix the issue, looks fine on Group Dashboard/Explore pages as well as Overview page.
diff --git a/app/assets/stylesheets/pages/groups.scss b/app/assets/stylesheets/pages/groups.scss
index 1587aebfe1d..95df5950469 100644
--- a/app/assets/stylesheets/pages/groups.scss
+++ b/app/assets/stylesheets/pages/groups.scss
@@ -419,6 +418,7 @@
.stats {
position: relative;
line-height: normal;
+ text-align: right;
flex-shrink: 0;
> span {
@@ -464,7 +464,7 @@
}
.last-updated {
- position: absolute;
+ position: relative;
right: 12px;
min-width: 250px;
text-align: right;