fix: some style

This commit is contained in:
Kilu
2024-06-26 17:57:33 +08:00
parent b64514c7e4
commit 990c149c75
2 changed files with 5 additions and 3 deletions

View File

@ -73,7 +73,9 @@ function MoreActions() {
<button
onClick={action.onClick}
key={index}
className={'flex items-center gap-2 rounded-[8px] p-1.5 text-sm hover:bg-content-blue-50'}
className={
'flex items-center gap-2 rounded-[8px] p-1.5 text-sm hover:bg-content-blue-50 focus:bg-content-blue-50 focus:outline-none'
}
>
<action.Icon />
<span>{action.label}</span>

View File

@ -3,7 +3,7 @@ use crate::entities::{
view_pb_with_child_views, view_pb_without_child_views, view_pb_without_child_views_from_arc,
CreateViewParams, CreateWorkspaceParams, DeletedViewPB, DuplicateViewParams, FolderSnapshotPB,
MoveNestedViewParams, RepeatedTrashPB, RepeatedViewIdPB, RepeatedViewPB, UpdateViewParams,
ViewPB, ViewSectionPB, WorkspacePB, WorkspaceSettingPB, ViewLayout, ViewLayoutPB
ViewPB, ViewSectionPB, WorkspacePB, WorkspaceSettingPB, ViewLayoutPB
};
use crate::manager_observer::{
notify_child_views_changed, notify_did_update_workspace, notify_parent_view_did_change,
@ -23,7 +23,7 @@ use collab_entity::CollabType;
use collab_folder::error::FolderError;
use collab_folder::{
Folder, FolderNotify, Section, SectionItem, TrashInfo, UserId, View, ViewLayout, ViewUpdate,
Workspace,
Workspace
};
use collab_integrate::collab_builder::{AppFlowyCollabBuilder, CollabBuilderConfig};
use collab_integrate::CollabKVDB;