From 226b94321f44443aedc6d27e04caf53fcc37a444 Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Tue, 24 May 2022 09:46:25 +0200
Subject: [PATCH] fix docker build scripts fix ng deep css

---
 Dockerfile                                | 2 +-
 src/extra_styles.css                      | 5 +++++
 src/ui/help/howToCite/howToCite.style.css | 4 ----
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 8c14dab5d..17e735232 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -38,7 +38,7 @@ RUN rm -rf ./node_modules
 
 
 RUN npm i
-RUN npm run build-aot
+RUN npm run build
 RUN npm run build-storybook
 
 # gzipping container
diff --git a/src/extra_styles.css b/src/extra_styles.css
index 14784d9e7..a85cfbe82 100644
--- a/src/extra_styles.css
+++ b/src/extra_styles.css
@@ -871,3 +871,8 @@ sxplr-sapiviews-features-receptor-autoradiograph canvas
   max-width: 100%;
   max-height: 100%;
 }
+
+how-to-cite img
+{
+  width: 100%;
+}
diff --git a/src/ui/help/howToCite/howToCite.style.css b/src/ui/help/howToCite/howToCite.style.css
index be8e9d87a..e69de29bb 100644
--- a/src/ui/help/howToCite/howToCite.style.css
+++ b/src/ui/help/howToCite/howToCite.style.css
@@ -1,4 +0,0 @@
-:host >>> img
-{
-  width: 100%;
-}
\ No newline at end of file
-- 
GitLab