remove upload icon
This commit is contained in:
parent
af333db6ae
commit
38ff58f8dd
2 changed files with 0 additions and 23 deletions
|
@ -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>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue