Skip to content

Commit

Permalink
Override hardcoded save button width
Browse files Browse the repository at this point in the history
The save button wrapper have a fixed width: https://github.com/scaleflex/filerobot-image-editor/blob/775f3cbc827755fda0f067265719df0787b355c8/packages/react-filerobot-image-editor/src/components/Topbar/SaveButton.jsx#L31

This PR override this hardcoded value to give it more flexibility.

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
  • Loading branch information
artonge authored and nextcloud-command committed May 11, 2023
1 parent 8f43cc8 commit 474deab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions js/viewer-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/viewer-main.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/components/ImageEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,10 @@ export default {
}
// Save button fixes
.FIE_topbar-save-wrapper {
width: auto !important;
}
.FIE_topbar-save-button {
color: var(--color-primary-text) !important;
border: none !important;
Expand Down

0 comments on commit 474deab

Please sign in to comment.