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
co-authored by Michael Telatynski Šimon Brandner
parent 511965b840
commit 2b91ed1084
3 changed files with 26 additions and 9 deletions
+8 -5
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;