Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e0c5146c
Commit
e0c5146c
authored
Jan 20, 2021
by
Nicolò Maria Mezzopera
Committed by
Natalia Tepluhina
Jan 20, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce vertical padding of registry list item
parent
d06ecf1d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
app/assets/javascripts/vue_shared/components/registry/list_item.vue
.../javascripts/vue_shared/components/registry/list_item.vue
+4
-6
changelogs/unreleased/296948-container-and-package-list-ui-polish-condense-spacing-to-match-iss.yml
...-package-list-ui-polish-condense-spacing-to-match-iss.yml
+5
-0
spec/frontend/packages/shared/components/__snapshots__/package_list_row_spec.js.snap
...ed/components/__snapshots__/package_list_row_spec.js.snap
+4
-4
No files found.
app/assets/javascripts/vue_shared/components/registry/list_item.vue
View file @
e0c5146c
...
...
@@ -54,7 +54,7 @@ export default {
class=
"gl-display-flex gl-flex-direction-column gl-border-b-solid gl-border-t-solid gl-border-t-1 gl-border-b-1"
:class=
"optionalClasses"
>
<div
class=
"gl-display-flex gl-align-items-center gl-py-
5
"
>
<div
class=
"gl-display-flex gl-align-items-center gl-py-
3
"
>
<div
v-if=
"$slots['left-action']"
class=
"gl-w-7 gl-display-none gl-display-sm-flex gl-justify-content-start gl-pl-2"
...
...
@@ -64,9 +64,7 @@ export default {
<div
class=
"gl-display-flex gl-xs-flex-direction-column gl-justify-content-space-between gl-align-items-stretch gl-flex-fill-1"
>
<div
class=
"gl-display-flex gl-flex-direction-column gl-justify-content-space-between gl-xs-mb-3 gl-min-w-0 gl-flex-grow-1"
>
<div
class=
"gl-display-flex gl-flex-direction-column gl-xs-mb-3 gl-min-w-0 gl-flex-grow-1"
>
<div
v-if=
"$slots['left-primary']"
class=
"gl-display-flex gl-align-items-center gl-text-body gl-font-weight-bold gl-min-h-6 gl-min-w-0"
...
...
@@ -83,7 +81,7 @@ export default {
</div>
<div
v-if=
"$slots['left-secondary']"
class=
"gl-display-flex gl-align-items-center gl-text-gray-500 gl-m
t-1 gl-m
in-h-6 gl-min-w-0 gl-flex-fill-1"
class=
"gl-display-flex gl-align-items-center gl-text-gray-500 gl-min-h-6 gl-min-w-0 gl-flex-fill-1"
>
<slot
name=
"left-secondary"
></slot>
</div>
...
...
@@ -99,7 +97,7 @@ export default {
</div>
<div
v-if=
"$slots['right-secondary']"
class=
"gl-display-flex gl-align-items-center gl-m
t-1 gl-m
in-h-6"
class=
"gl-display-flex gl-align-items-center gl-min-h-6"
>
<slot
name=
"right-secondary"
></slot>
</div>
...
...
changelogs/unreleased/296948-container-and-package-list-ui-polish-condense-spacing-to-match-iss.yml
0 → 100644
View file @
e0c5146c
---
title
:
Reduce vertical padding of registry list item
merge_request
:
51961
author
:
type
:
changed
spec/frontend/packages/shared/components/__snapshots__/package_list_row_spec.js.snap
View file @
e0c5146c
...
...
@@ -6,7 +6,7 @@ exports[`packages_list_row renders 1`] = `
data-qa-selector="package_row"
>
<div
class="gl-display-flex gl-align-items-center gl-py-
5
"
class="gl-display-flex gl-align-items-center gl-py-
3
"
>
<!---->
...
...
@@ -14,7 +14,7 @@ exports[`packages_list_row renders 1`] = `
class="gl-display-flex gl-xs-flex-direction-column gl-justify-content-space-between gl-align-items-stretch gl-flex-fill-1"
>
<div
class="gl-display-flex gl-flex-direction-column gl-
justify-content-space-between gl-
xs-mb-3 gl-min-w-0 gl-flex-grow-1"
class="gl-display-flex gl-flex-direction-column gl-xs-mb-3 gl-min-w-0 gl-flex-grow-1"
>
<div
class="gl-display-flex gl-align-items-center gl-text-body gl-font-weight-bold gl-min-h-6 gl-min-w-0"
...
...
@@ -40,7 +40,7 @@ exports[`packages_list_row renders 1`] = `
</div>
<div
class="gl-display-flex gl-align-items-center gl-text-gray-500 gl-m
t-1 gl-m
in-h-6 gl-min-w-0 gl-flex-fill-1"
class="gl-display-flex gl-align-items-center gl-text-gray-500 gl-min-h-6 gl-min-w-0 gl-flex-fill-1"
>
<div
class="gl-display-flex"
...
...
@@ -85,7 +85,7 @@ exports[`packages_list_row renders 1`] = `
</div>
<div
class="gl-display-flex gl-align-items-center gl-m
t-1 gl-m
in-h-6"
class="gl-display-flex gl-align-items-center gl-min-h-6"
>
<span>
<gl-sprintf-stub
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment