diff --git a/machines/web01/crabfit/packages/crabfit-frontend/08-heatmap.patch b/machines/web01/crabfit/packages/crabfit-frontend/08-heatmap.patch new file mode 100644 index 0000000..f8f8d46 --- /dev/null +++ b/machines/web01/crabfit/packages/crabfit-frontend/08-heatmap.patch @@ -0,0 +1,12 @@ +diff --git a/src/components/AvailabilityViewer/AvailabilityViewer.module.scss b/src/components/AvailabilityViewer/AvailabilityViewer.module.scss +index 0a05856..d1946f4 100644 +--- a/src/components/AvailabilityViewer/AvailabilityViewer.module.scss ++++ b/src/components/AvailabilityViewer/AvailabilityViewer.module.scss +@@ -4,7 +4,6 @@ + min-width: 100%; + align-items: flex-end; + justify-content: center; +- padding: 0 calc(calc(100% - 600px) / 2); + + @media (max-width: 660px) { + padding: 0 30px; diff --git a/machines/web01/crabfit/packages/crabfit-frontend/default.nix b/machines/web01/crabfit/packages/crabfit-frontend/default.nix index b4dffb9..2f6378b 100644 --- a/machines/web01/crabfit/packages/crabfit-frontend/default.nix +++ b/machines/web01/crabfit/packages/crabfit-frontend/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: { ./05-dgnum.patch ./06-download.patch ./07-colormap.patch + ./08-heatmap.patch ]; offlineCache = fetchYarnDeps {