From 3c4a23c5a3b1805fc4f378a1141684c652d57e93 Mon Sep 17 00:00:00 2001 From: Alexander Rose <alex.rose@rcsb.org> Date: Fri, 27 Sep 2019 15:22:27 -0700 Subject: [PATCH] ensure msp-layout-region background --- .../skin/base/components/transformer.scss | 16 ++++++++-------- src/mol-plugin/skin/base/layout/common.scss | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mol-plugin/skin/base/components/transformer.scss b/src/mol-plugin/skin/base/components/transformer.scss index 8fe043e01..3c11b12e7 100644 --- a/src/mol-plugin/skin/base/components/transformer.scss +++ b/src/mol-plugin/skin/base/components/transformer.scss @@ -1,5 +1,5 @@ -.msp-transformer { - +.msp-transformer { + .msp-entity-badge { position: absolute; top: 0; @@ -15,24 +15,24 @@ } .msp-transformer-wrapper { - position: relative; + position: relative; } -.msp-transformer-wrapper { - +.msp-transformer-wrapper { + .msp-entity-badge { left: 0; top: 0; } - + &:first-child { .msp-panel-description-content { top: $row-height + 1; } } - + &:not(:first-child) { - .msp-panel-description-content { + .msp-panel-description-content { bottom: $row-height + 1; } } diff --git a/src/mol-plugin/skin/base/layout/common.scss b/src/mol-plugin/skin/base/layout/common.scss index 69fa3467c..a882c401a 100644 --- a/src/mol-plugin/skin/base/layout/common.scss +++ b/src/mol-plugin/skin/base/layout/common.scss @@ -13,7 +13,7 @@ .msp-layout-region { overflow: hidden; - background: $default-background; + background: $default-background !important; } .msp-layout-static, .msp-layout-scrollable { -- GitLab