feat: bigger size

This commit is contained in:
DIYgod
2024-04-16 14:58:36 +08:00
parent ea9fdaeeaf
commit 3e4656ef5e
4 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ import icon from '../../resources/icon.png?asset'
function createWindow(): void {
// Create the browser window.
const mainWindow = new BrowserWindow({
width: 900,
height: 670,
width: 1200,
height: 800,
show: false,
autoHideMenuBar: true,
...(process.platform === 'linux' ? { icon } : {}),
@@ -12,7 +12,7 @@ export function SocialMediaItem({
className="w-5 h-5 mr-2 rounded-sm shrink-0"
/>
<div>
<div className="line-clamp-5 text-sm flex-1 -mt-0.5 text-[13px]">
<div className="line-clamp-5 text-sm flex-1 -mt-0.5">
<div className='space-x-1'>
<span className='font-medium'>{entry.author}</span>
<span className="text-zinc-500">·</span>
@@ -29,7 +29,7 @@ export function SocialMediaItem({
<img
key={image}
src={image}
className="w-20 h-20 shrink-0 rounded object-cover"
className="w-28 h-28 shrink-0 rounded object-cover"
loading="lazy"
/>
))}
@@ -26,7 +26,7 @@ export function FeedList({
setActivedList({
level: levels.type,
id: type,
name: levels.type,
name: type,
type,
})
}}
+6 -1
View File
@@ -5,7 +5,12 @@ import { ActivedList } from '@renderer/lib/types'
import { cn } from '@renderer/lib/utils'
export function Component() {
const [activedList, setActivedList] = useState<ActivedList>(null)
const [activedList, setActivedList] = useState<ActivedList>({
level: 'type',
id: 'Articles',
name: 'Articles',
type: 'Articles',
})
const [activedEntry, setActivedEntry] = useState<number | null>(null)
return (