diff options
Diffstat (limited to 'frontend/site/projects/museum/views')
| -rw-r--r-- | frontend/site/projects/museum/views/titles.css | 6 | ||||
| -rw-r--r-- | frontend/site/projects/museum/views/titles.overlay.js | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/frontend/site/projects/museum/views/titles.css b/frontend/site/projects/museum/views/titles.css index 547c9ba..562edd9 100644 --- a/frontend/site/projects/museum/views/titles.css +++ b/frontend/site/projects/museum/views/titles.css @@ -21,7 +21,7 @@ padding: 1rem; font-family: 'Helvetica', sans-serif; - font-size: 1.66vw; + font-size: 1.5vw; pointer-events: none; user-select: none; @@ -34,9 +34,9 @@ top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); - width: 65vw; + width: 80vw; font-family: "Druk Wide"; - font-size: 1.66vw; + font-size: 1.5vw; color: #fff; text-shadow: 0px 2px 6px rgba(0,0,0,0.5); opacity: 0; diff --git a/frontend/site/projects/museum/views/titles.overlay.js b/frontend/site/projects/museum/views/titles.overlay.js index 12b8bae..95c272d 100644 --- a/frontend/site/projects/museum/views/titles.overlay.js +++ b/frontend/site/projects/museum/views/titles.overlay.js @@ -102,6 +102,7 @@ class TitlesOverlay extends Component { showTitle() { if (!this.titleRef.current) return + this.titleRef.current.innerHTML = "" this.titleRef.current.style.color = this.state.content.color || "rgba(255, 121, 13, 1.0)" this.titleRef.current.style.opacity = 0 this.titleTimeout = setTimeout(() => { |
