From ca7226c2eb9413e98ad3c612c9e23e29e115f8f1 Mon Sep 17 00:00:00 2001 From: unimu-cc Date: Sat, 25 Nov 2023 13:09:36 +0800 Subject: [PATCH] Revert "fix: alignment issue #88 #89" This reverts commit ced055eb96056040c06a6ed0e1afc19a7cf23d5c. --- .../SeqDiagram/MessageLayer/MessageLayer.vue | 33 +------------------ 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLayer.vue b/src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLayer.vue index c92f0d9ab..2a6d8c6f2 100644 --- a/src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLayer.vue +++ b/src/components/DiagramFrame/SeqDiagram/MessageLayer/MessageLayer.vue @@ -56,42 +56,11 @@ onUpdated(() => { border-right-width: 7px; } - .occurrence .interaction.sync.self { - border-left-width: 7px; - } - - .occurrence { - .interaction.sync.self { - border-left-width: 7px; - } - .interaction.async { - border-right-width: 0; - } - } - - .occurrence { - .occurrence { - .interaction.sync.self { - border-left-width: 7px; - } - .interaction.async { - border-right-width: 7px; - } - } - } - .interaction.sync.self { - border-left-width: 0; - } - - .interaction.async { - border-left-width: 8px; - } - .interaction.sync.right-to-left { /* This border width configuration make sure the content width is the same as from the source occurrence's right border to target occurrence's left boarder (boarder not inclusive).*/ - border-right-width: 7px; + border-right-width: 0; border-left-width: 7px; }