Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 494f4d3

Browse files
authored
Merge pull request #6248 from matrix-org/t3chguy/fix/17731
2 parents 500be0d + 1d374f6 commit 494f4d3

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

res/css/structures/_RoomStatusBar.scss

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ limitations under the License.
112112

113113
.mx_AccessibleButton {
114114
padding: 5px 10px;
115-
padding-left: 28px; // 16px for the icon, 2px margin to text, 10px regular padding
115+
padding-left: 30px; // 18px for the icon, 2px margin to text, 10px regular padding
116116
display: inline-block;
117117
position: relative;
118118

@@ -128,23 +128,21 @@ limitations under the License.
128128
mask-repeat: no-repeat;
129129
mask-position: center;
130130
mask-size: contain;
131+
width: 18px;
132+
height: 18px;
133+
top: 50%; // text sizes are dynamic
134+
transform: translateY(-50%);
131135
}
132136

133137
&.mx_RoomStatusBar_unsentCancelAllBtn::before {
134138
mask-image: url('$(res)/img/element-icons/trashcan.svg');
135-
width: 12px;
136-
height: 16px;
137-
top: calc(50% - 8px); // text sizes are dynamic
138139
}
139140

140141
&.mx_RoomStatusBar_unsentResendAllBtn {
141142
padding-left: 34px; // 28px from above, but +6px to account for the wider icon
142143

143144
&::before {
144145
mask-image: url('$(res)/img/element-icons/retry.svg');
145-
width: 18px;
146-
height: 18px;
147-
top: calc(50% - 9px); // text sizes are dynamic
148146
}
149147
}
150148
}

res/css/views/rooms/_VoiceRecordComposerTile.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ limitations under the License.
3636
}
3737

3838
.mx_VoiceRecordComposerTile_delete {
39-
width: 14px; // w&h are size of icon
40-
height: 18px;
39+
width: 24px;
40+
height: 24px;
4141
vertical-align: middle;
42-
margin-right: 11px; // distance from left edge of waveform container (container has some margin too)
42+
margin-right: 8px; // distance from left edge of waveform container (container has some margin too)
4343
background-color: $voice-record-icon-color;
4444
mask-repeat: no-repeat;
4545
mask-size: contain;

res/img/element-icons/trashcan.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)