Skip to content

Commit

Permalink
update tab row spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcoding810 committed Sep 7, 2024
1 parent 0362cc2 commit f78ed2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/TabRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ export default function TabRow({
}) {
const { url, title } = data;
return (
<div key={url} className="gap-1 p-3 hover:cursor-pointer hover:bg-slate-200">
<div className="flex flex-row items-center h-[80px] gap-x-4">
<div key={url} className="gap-1 p-2 hover:cursor-pointer hover:bg-slate-200">
<div className="flex flex-row items-center h-[52px] gap-x-4">
<img src={getIcon(url)} alt="tab icon" className="w-8 h-8" />
<div
className="flex flex-wrap items-center w-full h-full overflow-hidden text-sm text-wrap text-start"
className="flex flex-wrap items-center w-full h-full overflow-hidden text-xs"
onClick={onClick}
>
{title}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/popup/PopupTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export default function PopupTabs(): JSX.Element {
/>
<div className="flex flex-col mt-4">
{transitions((style, item, t, index) => (
<animated.li style={style} key={item.url} className="flex items-center justify-between p-2 mb-2 border border-gray-300 rounded">
<animated.li style={style} key={item.url} className="flex items-center justify-between mb-2 border border-gray-300 rounded">
<TabRow
key={item.url}
data={item}
Expand Down

0 comments on commit f78ed2a

Please sign in to comment.