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
Show 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 {
...
@@ -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=
"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"
: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
<div
v-if=
"$slots['left-action']"
v-if=
"$slots['left-action']"
class=
"gl-w-7 gl-display-none gl-display-sm-flex gl-justify-content-start gl-pl-2"
class=
"gl-w-7 gl-display-none gl-display-sm-flex gl-justify-content-start gl-pl-2"
...
@@ -64,9 +64,7 @@ export default {
...
@@ -64,9 +64,7 @@ export default {
<div
<div
class=
"gl-display-flex gl-xs-flex-direction-column gl-justify-content-space-between gl-align-items-stretch gl-flex-fill-1"
class=
"gl-display-flex gl-xs-flex-direction-column gl-justify-content-space-between gl-align-items-stretch gl-flex-fill-1"
>
>
<div
<div
class=
"gl-display-flex gl-flex-direction-column gl-xs-mb-3 gl-min-w-0 gl-flex-grow-1"
>
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
<div
v-if=
"$slots['left-primary']"
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"
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 {
...
@@ -83,7 +81,7 @@ export default {
</div>
</div>
<div
<div
v-if=
"$slots['left-secondary']"
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>
<slot
name=
"left-secondary"
></slot>
</div>
</div>
...
@@ -99,7 +97,7 @@ export default {
...
@@ -99,7 +97,7 @@ export default {
</div>
</div>
<div
<div
v-if=
"$slots['right-secondary']"
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>
<slot
name=
"right-secondary"
></slot>
</div>
</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`] = `
...
@@ -6,7 +6,7 @@ exports[`packages_list_row renders 1`] = `
data-qa-selector="package_row"
data-qa-selector="package_row"
>
>
<div
<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`] = `
...
@@ -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"
class="gl-display-flex gl-xs-flex-direction-column gl-justify-content-space-between gl-align-items-stretch gl-flex-fill-1"
>
>
<div
<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
<div
class="gl-display-flex gl-align-items-center gl-text-body gl-font-weight-bold gl-min-h-6 gl-min-w-0"
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`] = `
...
@@ -40,7 +40,7 @@ exports[`packages_list_row renders 1`] = `
</div>
</div>
<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
<div
class="gl-display-flex"
class="gl-display-flex"
...
@@ -85,7 +85,7 @@ exports[`packages_list_row renders 1`] = `
...
@@ -85,7 +85,7 @@ exports[`packages_list_row renders 1`] = `
</div>
</div>
<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>
<span>
<gl-sprintf-stub
<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