Skip to content

Commit eff4956

Browse files
committed
fix popup format for list
1 parent fc3d08a commit eff4956

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

style.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,13 @@ main {
134134
transform 0.2s,
135135
box-shadow 0.2s;
136136
display: flex;
137-
flex-direction: column;
137+
flex-direction: row;
138+
align-items: center;
138139
justify-content: space-between;
139140
padding: var(--space-md);
140141
box-sizing: border-box;
141142
margin-bottom: var(--space-sm);
143+
gap: var(--space-md);
142144
}
143145
.list__item:hover {
144146
transform: translateY(-2px);
@@ -148,16 +150,22 @@ main {
148150
opacity: 0.5;
149151
text-decoration: line-through;
150152
}
153+
.list__item-primary-content {
154+
flex: 1;
155+
min-width: 0;
156+
text-align: left;
157+
}
151158
.list__item-text-body {
152159
color: var(--grey);
153160
padding-left: var(--space-sm);
161+
display: block;
154162
}
155163
.list__item-actions {
156-
margin-top: var(--space-md);
157164
display: flex;
158-
flex-wrap: wrap;
165+
flex-wrap: nowrap;
159166
justify-content: flex-end;
160167
gap: var(--space-xs);
168+
flex-shrink: 0;
161169
}
162170
.list__item-actions .button {
163171
margin: 0 var(--space-xs);

0 commit comments

Comments
 (0)