From c005825b47f191b4f0db58a5f8b1a7861ca4daaa Mon Sep 17 00:00:00 2001 From: Anton Date: Thu, 25 May 2023 13:22:30 +0200 Subject: [PATCH] Fix project/experiment name container size [SCI-8529] --- app/assets/stylesheets/experiment/canvas.scss | 2 +- app/assets/stylesheets/experiment/show.scss | 2 +- app/assets/stylesheets/experiments.scss | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/experiment/canvas.scss b/app/assets/stylesheets/experiment/canvas.scss index 23cd0be73..931123e5f 100644 --- a/app/assets/stylesheets/experiment/canvas.scss +++ b/app/assets/stylesheets/experiment/canvas.scss @@ -3,7 +3,7 @@ #canvas-container, #module-archive { .experimnet-name { - max-width: calc(100% - 300px); + max-width: calc(100% - 2rem); } .panel-heading { diff --git a/app/assets/stylesheets/experiment/show.scss b/app/assets/stylesheets/experiment/show.scss index dafe8c960..d88bc04a4 100644 --- a/app/assets/stylesheets/experiment/show.scss +++ b/app/assets/stylesheets/experiment/show.scss @@ -4,7 +4,7 @@ #experiment-canvas, #module-archive { .experimnet-name { - max-width: calc(100% - 300px); + max-width: calc(100% - 2rem); } .toolbar { diff --git a/app/assets/stylesheets/experiments.scss b/app/assets/stylesheets/experiments.scss index 508eb67d2..7def65af8 100644 --- a/app/assets/stylesheets/experiments.scss +++ b/app/assets/stylesheets/experiments.scss @@ -55,7 +55,7 @@ .project-name { align-items: center; display: flex; - max-width: calc(100% - 7em); + max-width: calc(100% - 2rem); .fas { margin-right: .5em;