Commit e0c5146c authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera Committed by Natalia Tepluhina

Reduce vertical padding of registry list item

parent d06ecf1d
...@@ -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-mt-1 gl-min-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-mt-1 gl-min-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>
......
---
title: Reduce vertical padding of registry list item
merge_request: 51961
author:
type: changed
...@@ -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-mt-1 gl-min-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-mt-1 gl-min-h-6" class="gl-display-flex gl-align-items-center gl-min-h-6"
> >
<span> <span>
<gl-sprintf-stub <gl-sprintf-stub
......
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