mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-05 20:54:14 +00:00
InboundFormModal (margin-left 6px) and OutboundFormModal (margin-left 8px) each carried their own .danger-icon, and FinalMaskForm wrote the same color/cursor/marginLeft trio inline five times. Unify on a single .danger-icon in utils.css with margin-left: 8px — matching the more generous OutboundFormModal value — and: - Drop the per-file .danger-icon copies from InboundFormModal.css and OutboundFormModal.css. - Replace the five inline style props in FinalMaskForm.tsx with className="danger-icon". The visible change is a 2px wider gap to the right of the delete icons on InboundFormModal's protocol/peer dividers.
29 lines
559 B
CSS
29 lines
559 B
CSS
.mt-4 { margin-top: 4px; }
|
|
.mt-8 { margin-top: 8px; }
|
|
.mt-10 { margin-top: 10px; }
|
|
.mt-12 { margin-top: 12px; }
|
|
.mt-20 { margin-top: 20px; }
|
|
|
|
.mb-4 { margin-bottom: 4px; }
|
|
.mb-8 { margin-bottom: 8px; }
|
|
.mb-10 { margin-bottom: 10px; }
|
|
.mb-12 { margin-bottom: 12px; }
|
|
|
|
.ml-8 { margin-left: 8px; }
|
|
|
|
.my-8 { margin: 8px 0; }
|
|
.my-10 { margin: 10px 0; }
|
|
|
|
.zero-margin { margin: 0; }
|
|
|
|
.random-icon {
|
|
margin-left: 4px;
|
|
cursor: pointer;
|
|
color: var(--ant-color-primary);
|
|
}
|
|
|
|
.danger-icon {
|
|
margin-left: 8px;
|
|
cursor: pointer;
|
|
color: var(--ant-color-error);
|
|
}
|