Commit 63eeb140 authored by Nick Kipling's avatar Nick Kipling

Updated to use new utility classes

Changed classes throughout package_title.vue
Updated test snapshots
parent 188cb936
...@@ -36,8 +36,8 @@ export default { ...@@ -36,8 +36,8 @@ export default {
{{ packageEntity.name }} {{ packageEntity.name }}
</h1> </h1>
<div class="d-flex align-items-center text-secondary"> <div class="gl-display-flex gl-align-items-center text-secondary">
<gl-icon name="eye" class="append-right-8" /> <gl-icon name="eye" class="gl-mr-3" />
<gl-sprintf message="v%{version} published %{timeAgo}"> <gl-sprintf message="v%{version} published %{timeAgo}">
<template #version> <template #version>
{{ packageEntity.version }} {{ packageEntity.version }}
...@@ -51,18 +51,18 @@ export default { ...@@ -51,18 +51,18 @@ export default {
</gl-sprintf> </gl-sprintf>
</div> </div>
<div class="d-flex flex-wrap align-items-center append-bottom-8"> <div class="gl-display-flex flex-wrap gl-align-items-center append-bottom-8">
<div v-if="packageTypeDisplay" class="d-flex align-items-center append-right-default"> <div v-if="packageTypeDisplay" class="gl-display-flex align-items-center gl-mr-5">
<gl-icon name="package" class="text-secondary append-right-8" /> <gl-icon name="package" class="text-secondary gl-mr-3" />
<span ref="package-type" class="font-weight-bold">{{ packageTypeDisplay }}</span> <span ref="package-type" class="font-weight-bold">{{ packageTypeDisplay }}</span>
</div> </div>
<div v-if="hasTagsToDisplay" class="d-flex align-items-center append-right-default"> <div v-if="hasTagsToDisplay" class="gl-display-flex gl-align-items-center gl-mr-5">
<package-tags :tag-display-limit="1" :tags="packageEntity.tags" /> <package-tags :tag-display-limit="1" :tags="packageEntity.tags" />
</div> </div>
<div v-if="packagePipeline" class="d-flex align-items-center append-right-default"> <div v-if="packagePipeline" class="gl-display-flex gl-align-items-center gl-mr-5">
<gl-icon name="review-list" class="text-secondary append-right-8" /> <gl-icon name="review-list" class="text-secondary gl-mr-3" />
<gl-link <gl-link
ref="pipeline-project" ref="pipeline-project"
:href="packagePipeline.project.web_url" :href="packagePipeline.project.web_url"
...@@ -75,9 +75,9 @@ export default { ...@@ -75,9 +75,9 @@ export default {
<div <div
v-if="packagePipeline" v-if="packagePipeline"
ref="package-ref" ref="package-ref"
class="d-flex align-items-center append-right-default" class="gl-display-flex gl-align-items-center gl-mr-5"
> >
<gl-icon name="branch" class="text-secondary append-right-8" /> <gl-icon name="branch" class="text-secondary gl-mr-3" />
<span <span
v-gl-tooltip v-gl-tooltip
class="font-weight-bold text-truncate mw-xs" class="font-weight-bold text-truncate mw-xs"
...@@ -86,8 +86,8 @@ export default { ...@@ -86,8 +86,8 @@ export default {
> >
</div> </div>
<div class="d-flex align-items-center append-right-default"> <div class="gl-display-flex gl-align-items-center gl-mr-5">
<gl-icon name="disk" class="text-secondary append-right-8" /> <gl-icon name="disk" class="text-secondary gl-mr-3" />
<span ref="package-size" class="font-weight-bold">{{ totalSize }}</span> <span ref="package-size" class="font-weight-bold">{{ totalSize }}</span>
</div> </div>
</div> </div>
......
...@@ -13,10 +13,10 @@ exports[`PackageTitle renders with tags 1`] = ` ...@@ -13,10 +13,10 @@ exports[`PackageTitle renders with tags 1`] = `
</h1> </h1>
<div <div
class="d-flex align-items-center text-secondary" class="gl-display-flex gl-align-items-center text-secondary"
> >
<gl-icon-stub <gl-icon-stub
class="append-right-8" class="gl-mr-3"
name="eye" name="eye"
size="16" size="16"
/> />
...@@ -27,13 +27,13 @@ exports[`PackageTitle renders with tags 1`] = ` ...@@ -27,13 +27,13 @@ exports[`PackageTitle renders with tags 1`] = `
</div> </div>
<div <div
class="d-flex flex-wrap align-items-center append-bottom-8" class="gl-display-flex flex-wrap gl-align-items-center append-bottom-8"
> >
<div <div
class="d-flex align-items-center append-right-default" class="gl-display-flex align-items-center gl-mr-5"
> >
<gl-icon-stub <gl-icon-stub
class="text-secondary append-right-8" class="text-secondary gl-mr-3"
name="package" name="package"
size="16" size="16"
/> />
...@@ -46,7 +46,7 @@ exports[`PackageTitle renders with tags 1`] = ` ...@@ -46,7 +46,7 @@ exports[`PackageTitle renders with tags 1`] = `
</div> </div>
<div <div
class="d-flex align-items-center append-right-default" class="gl-display-flex gl-align-items-center gl-mr-5"
> >
<package-tags-stub <package-tags-stub
tagdisplaylimit="1" tagdisplaylimit="1"
...@@ -59,10 +59,10 @@ exports[`PackageTitle renders with tags 1`] = ` ...@@ -59,10 +59,10 @@ exports[`PackageTitle renders with tags 1`] = `
<!----> <!---->
<div <div
class="d-flex align-items-center append-right-default" class="gl-display-flex gl-align-items-center gl-mr-5"
> >
<gl-icon-stub <gl-icon-stub
class="text-secondary append-right-8" class="text-secondary gl-mr-3"
name="disk" name="disk"
size="16" size="16"
/> />
...@@ -90,10 +90,10 @@ exports[`PackageTitle renders without tags 1`] = ` ...@@ -90,10 +90,10 @@ exports[`PackageTitle renders without tags 1`] = `
</h1> </h1>
<div <div
class="d-flex align-items-center text-secondary" class="gl-display-flex gl-align-items-center text-secondary"
> >
<gl-icon-stub <gl-icon-stub
class="append-right-8" class="gl-mr-3"
name="eye" name="eye"
size="16" size="16"
/> />
...@@ -104,13 +104,13 @@ exports[`PackageTitle renders without tags 1`] = ` ...@@ -104,13 +104,13 @@ exports[`PackageTitle renders without tags 1`] = `
</div> </div>
<div <div
class="d-flex flex-wrap align-items-center append-bottom-8" class="gl-display-flex flex-wrap gl-align-items-center append-bottom-8"
> >
<div <div
class="d-flex align-items-center append-right-default" class="gl-display-flex align-items-center gl-mr-5"
> >
<gl-icon-stub <gl-icon-stub
class="text-secondary append-right-8" class="text-secondary gl-mr-3"
name="package" name="package"
size="16" size="16"
/> />
...@@ -129,10 +129,10 @@ exports[`PackageTitle renders without tags 1`] = ` ...@@ -129,10 +129,10 @@ exports[`PackageTitle renders without tags 1`] = `
<!----> <!---->
<div <div
class="d-flex align-items-center append-right-default" class="gl-display-flex gl-align-items-center gl-mr-5"
> >
<gl-icon-stub <gl-icon-stub
class="text-secondary append-right-8" class="text-secondary gl-mr-3"
name="disk" name="disk"
size="16" size="16"
/> />
......
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