You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-14 19:02:33 +03:00
remove upload icon
This commit is contained in:
@@ -27,28 +27,6 @@ limitations under the License.
|
|||||||
|
|
||||||
.mx_AccessibleButton.mx_AccessibleButton_kind_primary {
|
.mx_AccessibleButton.mx_AccessibleButton_kind_primary {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
|
|
||||||
div {
|
|
||||||
position: relative;
|
|
||||||
height: 12px;
|
|
||||||
width: 12px;
|
|
||||||
display: inline;
|
|
||||||
padding-right: 6px; // 0.5 * 12px
|
|
||||||
left: -6px; // 0.5 * 12px
|
|
||||||
top: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div::before {
|
|
||||||
content: '';
|
|
||||||
position: absolute;
|
|
||||||
height: 12px;
|
|
||||||
width: 12px;
|
|
||||||
|
|
||||||
background-color: $button-primary-fg-color;
|
|
||||||
mask-repeat: no-repeat;
|
|
||||||
mask-size: contain;
|
|
||||||
mask-image: url('$(res)/img/feather-customised/upload.svg');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_AccessibleButton.mx_AccessibleButton_kind_link_sm {
|
.mx_AccessibleButton.mx_AccessibleButton_kind_link_sm {
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ const AvatarSetting = ({avatarUrl, avatarAltText, avatarName, uploadAvatar, remo
|
|||||||
if (uploadAvatar) {
|
if (uploadAvatar) {
|
||||||
// insert an empty div to be the host for a css mask containing the upload.svg
|
// insert an empty div to be the host for a css mask containing the upload.svg
|
||||||
uploadAvatarBtn = <AccessibleButton onClick={uploadAvatar} kind="primary">
|
uploadAvatarBtn = <AccessibleButton onClick={uploadAvatar} kind="primary">
|
||||||
<div> </div>
|
|
||||||
{_t("Upload")}
|
{_t("Upload")}
|
||||||
</AccessibleButton>;
|
</AccessibleButton>;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user