Skip to content

Commit

Permalink
Merge pull request #412 from ONLYOFFICE/bugfix/fix-link-styles
Browse files Browse the repository at this point in the history
Bugfix/fix link styles
  • Loading branch information
TatianaLopaeva authored Oct 21, 2021
2 parents 498a625 + 724a90b commit 7ae72af
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,13 @@ class AvatarEditorBody extends React.Component {
const desktopMode = isDesktop();
return (
<Text as="span">
<Link type="action" isHovered color="#316DAA" onClick={this.openDialog}>
<Link
type="action"
fontWeight={600}
isHovered
color="#316DAA"
onClick={this.openDialog}
>
{selectNewPhotoLabel}
</Link>{" "}
{desktopMode && orDropFileHereLabel}
Expand Down
2 changes: 1 addition & 1 deletion packages/asc-web-components/themes/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ const Base = {
maxWidth: "175px",

lineHeightWithoutBorder: "16px",
lineHeightTextDecoration: "underline dashed transparent",
lineHeightTextDecoration: "underline dashed",
},

childrenButton: {
Expand Down
2 changes: 1 addition & 1 deletion packages/asc-web-components/themes/dark.js
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ const Dark = {
maxWidth: "175px",

lineHeightWithoutBorder: "16px",
lineHeightTextDecoration: "underline dashed transparent",
lineHeightTextDecoration: "underline dashed",
},

childrenButton: {
Expand Down

0 comments on commit 7ae72af

Please sign in to comment.