From 1f070d9d14134073f575ed2316e32401590777ee Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sun, 26 Apr 2020 21:32:59 +0200 Subject: [PATCH] Adding external ids to the identify tab --- .../metadata-edit.component.html | 4 +-- .../show-details/show-details.component.html | 2 +- .../show-details/show-details.component.scss | 32 +++++++++++++------ src/app/show-grid/show-grid.component.html | 5 +++ src/app/show-grid/show-grid.component.scss | 32 ++++++++++++++++++- 5 files changed, 62 insertions(+), 13 deletions(-) diff --git a/src/app/metadata-edit/metadata-edit.component.html b/src/app/metadata-edit/metadata-edit.component.html index d3c3eebd..7ecee13e 100644 --- a/src/app/metadata-edit/metadata-edit.component.html +++ b/src/app/metadata-edit/metadata-edit.component.html @@ -1,12 +1,12 @@

Editing metadata of {{this.show.title}}

-
+
Edit metadata Manually edit each property -
+ Title diff --git a/src/app/show-details/show-details.component.html b/src/app/show-details/show-details.component.html index 63116065..8532fbaf 100644 --- a/src/app/show-details/show-details.component.html +++ b/src/app/show-details/show-details.component.html @@ -58,7 +58,7 @@

{{this.show.overview}}

  • - +
diff --git a/src/app/show-details/show-details.component.scss b/src/app/show-details/show-details.component.scss index bc0dccef..13cd2360 100644 --- a/src/app/show-details/show-details.component.scss +++ b/src/app/show-details/show-details.component.scss @@ -153,14 +153,28 @@ hr .provider { - display: inline; - width: 4rem; - height: 4rem; + display: inline-block; + width: 3rem; + height: 3rem; margin: .5rem; -} - -.provider-icon -{ - max-width: 4rem; - max-height: 4rem; + + > a + { + width: 3rem; + height: 3rem; + position: relative; + display: inline-block; + + > img + { + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + margin: auto; + max-width: 3rem; + max-height: 3rem; + } + } } \ No newline at end of file diff --git a/src/app/show-grid/show-grid.component.html b/src/app/show-grid/show-grid.component.html index 0b68f724..785cd911 100644 --- a/src/app/show-grid/show-grid.component.html +++ b/src/app/show-grid/show-grid.component.html @@ -10,6 +10,11 @@

{{show.startYear}} - {{show.endYear}}

{{show.startYear}}

{{show.overview}}

+
diff --git a/src/app/show-grid/show-grid.component.scss b/src/app/show-grid/show-grid.component.scss index 89f42092..5609ab4e 100644 --- a/src/app/show-grid/show-grid.component.scss +++ b/src/app/show-grid/show-grid.component.scss @@ -100,9 +100,10 @@ button > .overview { overflow-y: auto; - height: calc(100% - 2rem); + height: calc(100% - 4rem); text-align: justify; padding-right: .5rem; + margin-bottom: 0; } &:host-context(.hoverEnabled) &:hover @@ -112,3 +113,32 @@ button } } } + + +.provider +{ + display: inline-block; + width: 2.5rem; + height: 2.5rem; + margin: .25rem; + + > a + { + width: 2.5rem; + height: 2.5rem; + position: relative; + display: inline-block; + + > img + { + position: absolute; + top: 0; + bottom: 0; + right: 0; + left: 0; + margin: auto; + max-width: 2.5rem; + max-height: 2.5rem; + } + } +} \ No newline at end of file