55<template >
66 <div class =" signing-order-diagram" >
77 <div class =" diagram-content" >
8- <div class =" stage" >
9- <div class =" stage-label" >{{ t('libresign', 'SENDER') }}</div >
8+ <div class =" stage" >
9+ <div class =" stage-number-placeholder" ></div >
10+ <div class =" stage-label" >{{ t('libresign', 'SENDER') }}</div >
1011 <div class =" stage-items" >
1112 <div class =" signer-node sender" >
1213 <div class =" signer-content" >
2021 </div >
2122
2223 <div v-for =" order in uniqueOrders" :key =" order" class =" stage" >
23- <div class =" stage-number" >{{ order }}</div >
24- <div class =" stage-items" >
24+ <div class =" stage-number" >{{ order }}</div >
25+ <div class =" stage-label-placeholder" ></div >
26+ <div class =" stage-items" >
2527 <div v-for =" (signer, index) in getSignersByOrder(order)"
2628 :key =" `${order}-${index}`"
2729 class =" signer-node"
8082 </div >
8183 </div >
8284
83- <div class =" stage" >
84- <div class =" stage-label" >{{ t('libresign', 'COMPLETED') }}</div >
85+ <div class =" stage" >
86+ <div class =" stage-number-placeholder" ></div >
87+ <div class =" stage-label" >{{ t('libresign', 'COMPLETED') }}</div >
8588 <div class =" stage-items" >
8689 <div class =" signer-node completed" >
8790 <div class =" signer-icon" >
@@ -210,7 +213,7 @@ export default {
210213
211214.stage {
212215 display: flex;
213- flex- direction: column ;
216+ flex- direction: row ;
214217 align- items: center;
215218 width: 100 % ;
216219 position: relative;
@@ -226,20 +229,13 @@ export default {
226229 padding- bottom: 0 ;
227230 }
228231
229- & : not (: last- child):: after {
230- content: ' ' ;
231- position: absolute;
232- bottom: - 10px ;
233- left: 50 % ;
234- width: 2px ;
235- height: 10px ;
236- background: var (-- color- border- dark);
237- transform: translateX (- 50 % );
238- z- index: 1 ;
232+ .stage - label,
233+ .stage - label- placeholder {
234+ width: 100px ;
235+ flex- shrink: 0 ;
239236
240237 @media (max - width : 512px ) {
241- bottom: - 8px ;
242- height: 8px ;
238+ width: 80px ;
243239 }
244240 }
245241
@@ -249,23 +245,19 @@ export default {
249245 color: var (-- color- text- maxcontrast);
250246 text- transform: uppercase;
251247 letter- spacing: 0 .5px ;
252- margin- bottom: 12px ;
253- text- align: center;
254248
255249 @media (max - width : 512px ) {
256250 font- size: 11px ;
257- margin- bottom: 10px ;
258251 }
259252 }
260253
261- .stage - number {
262- position: absolute;
263- left: 0 ;
264- top: 16px ;
254+ .stage - number,
255+ .stage - number- placeholder {
265256 font- size: 24px ;
266257 font- weight: 600 ;
267258 color: var (-- color- text- maxcontrast);
268259 width: 50px ;
260+ flex- shrink: 0 ;
269261 text- align: center;
270262
271263 @media (max - width : 512px ) {
@@ -279,6 +271,7 @@ export default {
279271 flex- wrap: wrap;
280272 gap: 12px ;
281273 justify- content: center;
274+ flex: 1 ;
282275
283276 @media (max - width : 512px ) {
284277 gap: 10px ;
0 commit comments