Add a delete button

This commit is contained in:
Travis Ralston 2021-04-26 21:08:51 -06:00
parent 30e120284d
commit c1bb0bb0b8
3 changed files with 35 additions and 2 deletions

View file

@ -35,6 +35,17 @@ limitations under the License.
}
}
.mx_VoiceRecordComposerTile_delete {
width: 14px; // w&h are size of icon
height: 18px;
vertical-align: middle;
margin-right: 7px; // distance from left edge of waveform container (container has some margin too)
background-color: $muted-fg-color;
mask-repeat: no-repeat;
mask-size: contain;
mask-image: url('$(res)/img/element-icons/trashcan.svg');
}
.mx_VoiceRecordComposerTile_waveformContainer {
padding: 6px; // makes us 4px taller than the send/stop button
padding-right: 5px; // there's 1px from the waveform itself, so account for that