Skip to content

Commit 6153e79

Browse files
committed
Correct AddressTile and ChatInviteDialog styling
1 parent f6f68bc commit 6153e79

File tree

2 files changed

+37
-7
lines changed

2 files changed

+37
-7
lines changed

src/skins/vector/css/matrix-react-sdk/views/dialogs/ChatInviteDialog.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,23 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
.mx_ChatInviteDialog_input {
18-
line-height: 36px;
17+
.mx_ChatInviteDialog_input,
18+
.mx_ChatInviteDialog_input:focus {
19+
line-height: 34px;
1920
font-size: 14px;
2021
padding-left: 12px;
2122
padding-right: 12px;
22-
margin: 0;
23+
margin: 0 !important;
24+
border: 0 !important;
25+
}
26+
27+
.mx_ChatInviteDialog_inputContainer {
28+
border-radius: 3px;
29+
border: solid 1px #f0f0f0;
30+
line-height: 36px;
31+
padding-left: 4px;
32+
padding-right: 4px;
33+
padding-top: 2px;
2334
}
2435

2536
.mx_ChatInviteDialog_cancel {

src/skins/vector/css/matrix-react-sdk/views/elements/AddressTile.css

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,40 @@ limitations under the License.
1515
*/
1616

1717
.mx_AddressTile {
18-
18+
display: inline-block;
19+
border-radius: 3px;
20+
background-color: rgba(74, 73, 74, 0.1);
21+
border: solid 1px #f0f0f0;
22+
line-height: 27px;
23+
color: #454545;
24+
font-size: 14px;
25+
font-weight: normal;
1926
}
2027

2128
.mx_AddressTile_avatar {
22-
29+
display: inline-block;
30+
position: relative;
31+
top: 1px;
32+
padding-left: 2px;
33+
padding-right: 7px;
2334
}
2435

2536
.mx_AddressTile_name {
26-
37+
display: inline-block;
38+
padding-right: 4px;
39+
font-weight: 600;
2740
}
2841

2942
.mx_AddressTile_id {
30-
43+
display: inline-block;
3144
}
3245

3346
.mx_AddressTile_dismiss {
47+
display: inline-block;
48+
padding-right: 11px;
49+
padding-left: 12px;
50+
}
3451

52+
.mx_AddressTile_dismiss object {
53+
pointer-events: none;
3554
}

0 commit comments

Comments
 (0)