fix: 统一窗口初始分辨率与最小分辨率,调整页面padding一致性
This commit is contained in:
@@ -44,8 +44,8 @@ async function createWindow() {
|
||||
const initialSymbolColor = nativeTheme.shouldUseDarkColors ? '#ffffff' : '#000000';
|
||||
|
||||
const mainWindow = new BrowserWindow({
|
||||
width: 1280,
|
||||
height: 800,
|
||||
width: 1600,
|
||||
height: 900,
|
||||
minWidth: 1600,
|
||||
minHeight: 900,
|
||||
autoHideMenuBar: true,
|
||||
|
||||
@@ -178,7 +178,7 @@ export const RecycleBinPage: React.FC = () => {
|
||||
: `确定要彻底删除文件 "${deleteItem?.originalName}" 吗?此操作不可撤销,文件将被永久删除。`
|
||||
|
||||
return (
|
||||
<div className="max-w-4xl mx-auto w-full p-6">
|
||||
<div className="max-w-4xl mx-auto w-full px-14 py-12 pb-40">
|
||||
<div className="flex items-center justify-between mb-8">
|
||||
<div className="flex items-center gap-3">
|
||||
<Trash2 size={28} className="text-gray-600 dark:text-gray-300" />
|
||||
|
||||
@@ -47,7 +47,7 @@ export const SettingsPage: React.FC = () => {
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="max-w-4xl mx-auto w-full p-6">
|
||||
<div className="max-w-4xl mx-auto w-full px-14 py-12 pb-40">
|
||||
<h1 className="text-2xl font-bold text-gray-800 dark:text-gray-200 mb-8">设置</h1>
|
||||
|
||||
<div className="space-y-6">
|
||||
|
||||
Reference in New Issue
Block a user