diff --git a/src/gui/filedetails/ShareDetailsPage.qml b/src/gui/filedetails/ShareDetailsPage.qml index c2b8b95ba..4a78ffe47 100644 --- a/src/gui/filedetails/ShareDetailsPage.qml +++ b/src/gui/filedetails/ShareDetailsPage.qml @@ -716,18 +716,16 @@ Page { Button { height: Style.standardPrimaryButtonHeight - icon.source: hovered - ? "image://svgimage-custom-color/close.svg/" + palette.brightText - : "image://svgimage-custom-color/close.svg/" + Style.errorBoxBackgroundColor + icon.source: "image://svgimage-custom-color/close.svg/" + palette.buttonText + icon.height: Style.extraSmallIconSize text: qsTr("Unshare") onClicked: root.deleteShare() } Button { height: Style.standardPrimaryButtonHeight - icon.source: hovered - ? "image://svgimage-custom-color/add.svg/" + palette.brightText - : "image://svgimage-custom-color/add.svg/" + root.accentColor + icon.source: "image://svgimage-custom-color/add.svg/" + palette.buttonText + icon.height: Style.extraSmallIconSize text: qsTr("Add another link") visible: root.isLinkShare && root.canCreateLinkShares enabled: visible diff --git a/theme/Style/Style.qml b/theme/Style/Style.qml index cda260235..d145b16c3 100644 --- a/theme/Style/Style.qml +++ b/theme/Style/Style.qml @@ -71,6 +71,7 @@ QtObject { property int iconButtonWidth: 36 property int standardPrimaryButtonHeight: 40 readonly property int smallIconSize: 16 + readonly property int extraSmallIconSize: 8 property int minActivityHeight: variableSize(32)