diff --git a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts index 2b7dde9933..455b3a0735 100644 --- a/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts +++ b/apps/datahub-e2e/src/e2e/datasetDetailPage.cy.ts @@ -118,7 +118,7 @@ describe('dataset pages', () => { .find('.font-title') .next() .as('infoBar') - cy.get('@infoBar').children('div').should('have.length', 3) + cy.get('@infoBar').children().should('have.length', 3) }) it('should return to the dataset list', () => { cy.get('datahub-header-record') diff --git a/apps/datahub/src/app/record/header-record/header-record.component.html b/apps/datahub/src/app/record/header-record/header-record.component.html index 468272bcc0..93eaf33a33 100644 --- a/apps/datahub/src/app/record/header-record/header-record.component.html +++ b/apps/datahub/src/app/record/header-record/header-record.component.html @@ -38,19 +38,21 @@ {{ metadata.title }}
-
- + my_location - -

record.metadata.type

-
-
+ + record.metadata.type + +

record.metadata.lastUpdate

diff --git a/tailwind.base.css b/tailwind.base.css index 9bce5e4729..db753d1abc 100644 --- a/tailwind.base.css +++ b/tailwind.base.css @@ -115,7 +115,8 @@ --padding: var(--gn-ui-badge-padding, 0.375em 0.75em); --text-color: var(--gn-ui-badge-text-color, var(--color-gray-50)); --background-color: var(--gn-ui-badge-background-color, black); - @apply inline-block opacity-70 p-[--padding] rounded-[--rounded] + --opacity: var(--gn-ui-badge-opacity, 0.7); + @apply inline-block opacity-[--opacity] p-[--padding] rounded-[--rounded] font-medium text-[length:0.875em] leading-none text-[color:--text-color] bg-[color:--background-color]; } /* makes sure icons will not make the badges grow vertically; also make size proportional */