Skip to content

Commit

Permalink
pkp/pkp-lib#10444 Remove unused classes for dialog component
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Nov 13, 2024
1 parent e9b09e5 commit 4414df8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/Dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const props = defineProps({
});
const styles = computed(() => ({
'modal__panel modal__panel--dialog relative mx-3 w-10/12 max-w-3xl transform overflow-hidden rounded bg-secondary text-start shadow transition-all sm:my-8': true,
'relative mx-3 w-10/12 max-w-3xl transform overflow-hidden rounded bg-secondary text-start shadow transition-all sm:my-8': true,
'border-none': props.modalStyle === 'basic',
'border-s-[14px] border-primary': props.modalStyle === 'primary',
'border-s-[14px] border-success': props.modalStyle === 'success',
Expand Down
1 change: 1 addition & 0 deletions src/composables/useModal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Dialog component's purpose is to display simple feedback like success and error
close: () => {
// dialog has been closed
},
modalStyle: 'primary',
});
}
</script>
Expand Down

0 comments on commit 4414df8

Please sign in to comment.