diff --git a/fusion_plating/fusion_plating_shopfloor/__manifest__.py b/fusion_plating/fusion_plating_shopfloor/__manifest__.py index fe9d6bd5..aa9aab1e 100644 --- a/fusion_plating/fusion_plating_shopfloor/__manifest__.py +++ b/fusion_plating/fusion_plating_shopfloor/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Plating — Shop Floor', - 'version': '19.0.7.0.0', + 'version': '19.0.8.0.0', 'category': 'Manufacturing/Plating', 'summary': 'Shop-floor tablet stations, QR scanning, bake window enforcer, ' 'first-piece inspection gates.', diff --git a/fusion_plating/fusion_plating_shopfloor/static/src/scss/plant_overview.scss b/fusion_plating/fusion_plating_shopfloor/static/src/scss/plant_overview.scss index fda89f50..e49c6b89 100644 --- a/fusion_plating/fusion_plating_shopfloor/static/src/scss/plant_overview.scss +++ b/fusion_plating/fusion_plating_shopfloor/static/src/scss/plant_overview.scss @@ -243,6 +243,10 @@ background-color: $fp-card; border: 1px solid #{$fp-border}; border-radius: $fp-radius-md; + // Clip children to the rounded corners — this is what makes the + // priority stripe (inside via ::before) curve with the card. + // Shadows are painted outside the content box so they render fine. + overflow: hidden; padding: $fp-space-3 $fp-space-4; margin-bottom: $fp-space-2; cursor: grab; @@ -271,13 +275,12 @@ box-shadow: $fp-elev-3; } - // Priority left bar + // Priority left bar — lives inside the card's overflow: hidden + // so it gets clipped to the rounded corners automatically. &::before { content: ""; - position: absolute; left: -1px; top: -1px; bottom: -1px; + position: absolute; left: 0; top: 0; bottom: 0; width: 4px; - border-top-left-radius: $fp-radius-md; - border-bottom-left-radius: $fp-radius-md; background-color: transparent; } &[data-priority="2"], &.o_fp_po_card_hot {