Skip to content

Commit 10b17b7

Browse files
committed
TintableSvgButton styling.
1 parent 1fc44a3 commit 10b17b7

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

src/skins/vector/css/_common.scss

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,3 +332,30 @@ textarea {
332332
border: 1px solid gray;
333333
background-color: darkred;
334334
}
335+
336+
.mx_TintableSvgButton {
337+
position: relative;
338+
display: flex;
339+
flex-direction: row;
340+
justify-content: center;
341+
align-content: center;
342+
}
343+
344+
.mx_TintableSvgButton object {
345+
margin: 0;
346+
padding: 0;
347+
width: 100%;
348+
height: 100%;
349+
max-width: 100%;
350+
max-height: 100%;
351+
}
352+
353+
.mx_TintableSvgButton span {
354+
position: absolute;
355+
top: 0;
356+
right: 0;
357+
bottom: 0;
358+
left: 0;
359+
opacity: 0;
360+
cursor: pointer;
361+
}

0 commit comments

Comments
 (0)