Skip to content

Commit ed41672

Browse files
committed
fix: some UI issues
1 parent 3bc85c2 commit ed41672

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_embed/link_embed_menu.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class _LinkEmbedMenuState extends State<LinkEmbedMenu> {
6969
return Container(
7070
padding: EdgeInsets.all(4),
7171
decoration: BoxDecoration(
72-
borderRadius: BorderRadius.circular(16),
72+
borderRadius: BorderRadius.circular(12),
7373
color: fillScheme.primaryAlpha80,
7474
),
7575
child: Row(

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class CustomLinkPreviewWidget extends StatelessWidget {
7373
buildImage(context),
7474
Expanded(
7575
child: Padding(
76-
padding: const EdgeInsets.fromLTRB(20, 12, 60, 12),
76+
padding: const EdgeInsets.fromLTRB(20, 12, 58, 12),
7777
child: status != LinkLoadingStatus.idle
7878
? buildLoadingOrErrorWidget()
7979
: Column(

frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/link_preview/custom_link_preview_block_component.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ class CustomLinkPreviewBlockComponentState
150150
child,
151151
if (showActions)
152152
Positioned(
153-
top: 16,
154-
right: 16,
153+
top: 12,
154+
right: 12,
155155
child: CustomLinkPreviewMenu(
156156
onMenuShowed: () {
157157
isMenuShowing = true;

0 commit comments

Comments
 (0)