Skip to content

Commit 07faa20

Browse files
Refined Cabinet UI: Removed activity indicators and optimized right-side vertical baseline to 20px for better optical balance
1 parent 04f0f24 commit 07faa20

2 files changed

Lines changed: 3 additions & 25 deletions

File tree

web/src/pages/Cabinet/Cabinet.module.css

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
text-transform: uppercase;
4141
letter-spacing: 0.05em;
4242
color: #71717a;
43-
padding: 0 24px 0 16px; /* Right-side gutter (24px) to accommodate indicators at 16px */
43+
padding: 0 20px 0 16px; /* Optimized 20px right padding for better optical balance */
4444
margin-top: 4px;
4545
margin-bottom: 0px;
4646
text-align: right;
@@ -80,7 +80,7 @@
8080
display: flex;
8181
align-items: center;
8282
gap: 16px;
83-
padding: 14px 24px 14px 16px; /* 24px right padding for grid alignment */
83+
padding: 14px 20px 14px 16px; /* 20px right padding for grid alignment */
8484
}
8585

8686
.avatarWrap {
@@ -187,27 +187,6 @@
187187
overflow: hidden;
188188
}
189189

190-
.activeIndicator {
191-
position: absolute;
192-
right: 16px;
193-
top: 0;
194-
bottom: 0;
195-
width: 4px;
196-
background: var(--cb-brand-orange);
197-
border-radius: 2px;
198-
}
199-
200-
.standaloneActiveIndicator {
201-
position: absolute;
202-
right: 16px;
203-
top: 50%;
204-
transform: translateY(-50%);
205-
width: 4px;
206-
height: 20px;
207-
background: var(--cb-brand-orange);
208-
border-radius: 2px;
209-
}
210-
211190
.slotTopRow {
212191
display: flex;
213192
justify-content: space-between;
@@ -285,7 +264,7 @@
285264
display: flex;
286265
justify-content: space-between;
287266
align-items: center;
288-
padding: 12px 24px 12px 16px; /* Consistent 24px right padding for 'Action Zone' sync */
267+
padding: 12px 20px 12px 16px; /* Unified 20px side padding for optical balance */
289268
cursor: pointer;
290269
position: relative;
291270
min-height: 52px;

web/src/pages/Cabinet/Cabinet.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ export const Cabinet: React.FC = () => {
9797
/>
9898

9999
<div className={styles.standaloneRowWrap} style={{ position: 'relative' }}>
100-
<div className={styles.standaloneActiveIndicator} />
101100
<CabinetRow
102101
label={<span className={styles.slotTitle}>Показувати першою підчергу</span>}
103102
onClick={() => setSubGroupSheetOpen(true)}

0 commit comments

Comments
 (0)