Unify spacing in project and group item components
group_item.vue and project_item.vue components have a tiny difference in spacing - the avatar in group item is placed with the name inside one container and does not receives flex gap. The difference doesn't seem big, but since both components appear next to each other, it can be easily spotted:
To do:
- place the avatar in
group_item.vueoutside the wrappingdiv, so that flex gap is present between the avatar and the group name - change
divelement tospanfor a correct HTML structure. Block elements should not be nested inside inline elements.
File to edit:
How to reproduce:
- Open Rails console. In your terminal:
rails c - Enable the feature flag:
Feature.enable(:edit_branch_rules)
- In a project, go to Settings / Repository
- Expand Branch rules section
- Create a rule or choose already existing one. Click View details
- Click Edit in the Allowed to merge section. A drawer containing components in question will open.
Edited by Paulina Sedlak-Jakubowska
