Add copy buttons for event & room ID (#8302)

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
olivialivia 2022-04-19 09:39:34 +01:00 committed by GitHub
parent 511965b840
commit 2b91ed1084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 9 deletions

View file

@ -18,14 +18,17 @@ limitations under the License.
.mx_CopyableText {
display: flex;
justify-content: space-between;
border-radius: 5px;
border: solid 1px $light-fg-color;
margin-bottom: 10px;
margin-top: 10px;
padding: 10px;
width: max-content;
max-width: 100%;
&.mx_CopyableText_border {
border-radius: 5px;
border: solid 1px $light-fg-color;
margin-bottom: 10px;
margin-top: 10px;
padding: 10px;
}
.mx_CopyableText_copyButton {
flex-shrink: 0;
width: 20px;