mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08:00
chore: modify the text content of share menu (#8026)
 
This commit is contained in:
@@ -38,7 +38,16 @@ export const DoneIconStyle = style({
|
||||
export const exportItemStyle = style({
|
||||
padding: '4px',
|
||||
transition: 'all 0.3s',
|
||||
gap: '0px',
|
||||
});
|
||||
globalStyle(`${exportItemStyle} > div:first-child`, {
|
||||
alignItems: 'center',
|
||||
});
|
||||
globalStyle(`${exportItemStyle} svg`, {
|
||||
width: '16px',
|
||||
height: '16px',
|
||||
});
|
||||
|
||||
export const copyLinkContainerStyle = style({
|
||||
padding: '4px',
|
||||
display: 'flex',
|
||||
|
||||
@@ -20,7 +20,7 @@ export const ShareExport = () => {
|
||||
<div className={styles.descriptionStyle}>
|
||||
{t['com.affine.share-menu.ShareViaExportDescription']()}
|
||||
</div>
|
||||
<div>
|
||||
<div className={styles.exportContainerStyle}>
|
||||
<ExportMenuItems
|
||||
exportHandler={exportHandler}
|
||||
className={styles.exportItemStyle}
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
ExportToHtmlIcon,
|
||||
ExportToMarkdownIcon,
|
||||
ExportToPngIcon,
|
||||
FileIcon,
|
||||
PrinterIcon,
|
||||
} from '@blocksuite/icons/rc';
|
||||
import type { ReactNode } from 'react';
|
||||
import { useCallback } from 'react';
|
||||
@@ -57,7 +57,7 @@ export const PrintMenuItems = ({
|
||||
onSelect={() => exportHandler('pdf')}
|
||||
className={className}
|
||||
type="pdf"
|
||||
icon={<FileIcon />}
|
||||
icon={<PrinterIcon />}
|
||||
label={t['com.affine.export.print']()}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user