From 6d1bb4927d03ef632d7a8c5c6abb1e5e111424f9 Mon Sep 17 00:00:00 2001
From: Cameron Hyde
Date: Thu, 15 Aug 2024 13:25:41 +1000
Subject: [PATCH] Fix "What is this page" position
---
webapp/home/labs/proteomics/static/custom.css | 21 +++++++++++++++++++
.../home/labs/proteomics/templates/intro.html | 19 ++++++++---------
2 files changed, 30 insertions(+), 10 deletions(-)
diff --git a/webapp/home/labs/proteomics/static/custom.css b/webapp/home/labs/proteomics/static/custom.css
index e69de29b..cfd8f237 100644
--- a/webapp/home/labs/proteomics/static/custom.css
+++ b/webapp/home/labs/proteomics/static/custom.css
@@ -0,0 +1,21 @@
+#whatIsThisPage {
+ position: absolute;
+ top: 135px;
+ right: calc(50vw - 500px);
+}
+
+@media (max-width: 1070px) {
+ #whatIsThisPage {
+ right: 2rem;
+ }
+}
+@media (max-width: 992px) {
+ #whatIsThisPage {
+ top: 95px;
+ }
+}
+@media (max-width: 730px) {
+ #whatIsThisPage {
+ top: 2rem;
+ }
+}
diff --git a/webapp/home/labs/proteomics/templates/intro.html b/webapp/home/labs/proteomics/templates/intro.html
index f4c7e06e..41a4c0d1 100644
--- a/webapp/home/labs/proteomics/templates/intro.html
+++ b/webapp/home/labs/proteomics/templates/intro.html
@@ -1,24 +1,23 @@