Skip to content

fix: resolve editor styling issues in Safari browser #7328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ui/packages/editor/src/components/EditorBubbleMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const shouldShow = (
:default-animation="bubbleMenu.defaultAnimation"
>
<div
class="bubble-menu bg-white flex items-center rounded-md p-1 border drop-shadow space-x-1"
class="bubble-menu bg-white flex items-center rounded-md p-1 border shadow space-x-1"
>
<template v-if="bubbleMenu.items">
<template
Expand Down
6 changes: 3 additions & 3 deletions ui/packages/editor/src/components/EditorHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function getToolboxItemsFromExtensions() {
</script>
<template>
<div
class="editor-header py-1 space-x-1 px-1 overflow-auto border-b drop-shadow-sm bg-white text-center"
class="editor-header py-1 space-x-1 px-1 overflow-auto border-b shadow-sm bg-white text-center"
>
<div class="h-full inline-flex items-center">
<VMenu>
Expand All @@ -68,7 +68,7 @@ function getToolboxItemsFromExtensions() {
</button>
<template #popper>
<div
class="relative rounded-md bg-white overflow-hidden drop-shadow w-56 p-1 max-h-96 overflow-y-auto space-y-1.5"
class="relative rounded-md bg-white overflow-hidden shadow w-56 p-1 max-h-96 overflow-y-auto space-y-1.5"
>
<component
:is="toolboxItem.component"
Expand Down Expand Up @@ -106,7 +106,7 @@ function getToolboxItemsFromExtensions() {
/>
<template #popper>
<div
class="relative rounded-md bg-white overflow-hidden drop-shadow w-56 p-1 max-h-96 overflow-y-auto space-y-1.5"
class="relative rounded-md bg-white overflow-hidden shadow w-56 p-1 max-h-96 overflow-y-auto space-y-1.5"
>
<component
v-bind="child.props"
Expand Down
2 changes: 1 addition & 1 deletion ui/packages/editor/src/components/bubble/BubbleItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const handleBubbleItemClick = (editor: Editor) => {
</button>
<template #popper>
<div
class="relative rounded-md bg-white overflow-hidden drop-shadow w-96 p-1 max-h-72 overflow-y-auto"
class="relative rounded-md bg-white overflow-hidden shadow w-96 p-1 max-h-72 overflow-y-auto"
>
<KeepAlive>
<component :is="componentRef" v-bind="props"></component>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ defineExpose({
rounded-md
bg-white
overflow-hidden
drop-shadow
shadow
w-52
p-1
max-h-72
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const handleLinkBubbleButton = () => {

<template #popper>
<div
class="relative rounded-md bg-white overflow-hidden drop-shadow w-96 p-1 max-h-72 overflow-y-auto"
class="relative rounded-md bg-white overflow-hidden shadow w-96 p-1 max-h-72 overflow-y-auto"
>
<input
v-model.lazy="href"
Expand Down
2 changes: 1 addition & 1 deletion ui/packages/editor/src/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

.v-popper--theme-editor-block-dropdown {
.v-popper__inner {
@apply bg-white drop-shadow-md rounded-md;
@apply bg-white shadow-md rounded-md;
}

.v-popper__arrow-container {
Expand Down
Loading