Skip to content

Commit

Permalink
fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
hogashi committed Nov 28, 2023
1 parent 0d5ab78 commit 33b5a4c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
6 changes: 3 additions & 3 deletions __tests__/__snapshots__/popup.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`Popup render 1`] = `
className="p-3 flex flex-col justify-center items-center"
style={
{
"minWidth": "280px",
"minWidth": "260px",
}
}
>
Expand All @@ -18,7 +18,7 @@ exports[`Popup render 1`] = `
className="my-1"
>
<fieldset
className="mx-3 my-1"
className="my-1"
>
<h2
className="text-base font-semibold leading-7 text-gray-900"
Expand Down Expand Up @@ -79,7 +79,7 @@ exports[`Popup render 1`] = `
</div>
</fieldset>
<fieldset
className="mx-3 my-1"
className="my-1"
>
<h2
className="text-base font-semibold leading-7 text-gray-900"
Expand Down
5 changes: 0 additions & 5 deletions dist/css/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -538,11 +538,6 @@ video {
position: relative;
}

.mx-3 {
margin-left: 0.75rem;
margin-right: 0.75rem;
}

.my-1 {
margin-top: 0.25rem;
margin-bottom: 0.25rem;
Expand Down
6 changes: 3 additions & 3 deletions src/extension-contexts/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@ export const Popup = (props: Props): JSX.Element => {
<div
className="p-3 flex flex-col justify-center items-center"
style={{
minWidth: '280px',
minWidth: '260px',
}}
>
<h1 className="text-xl font-bold leading-7 text-gray-900 self-center sm:truncate sm:text-3xl sm:tracking-tight">
Options - 設定
</h1>
<div className="my-1">
<fieldset className="mx-3 my-1">
<fieldset className="my-1">
<h2 className="text-base font-semibold leading-7 text-gray-900">TwitterWeb公式</h2>
{optionsItems[SHOW_ON_TIMELINE]}
{optionsItems[SHOW_ON_TWEET_DETAIL]}
</fieldset>
<fieldset className="mx-3 my-1">
<fieldset className="my-1">
<h2 className="text-base font-semibold leading-7 text-gray-900">TweetDeck</h2>
{optionsItems[SHOW_ON_TWEETDECK_TIMELINE]}
{optionsItems[SHOW_ON_TWEETDECK_TWEET_DETAIL]}
Expand Down

0 comments on commit 33b5a4c

Please sign in to comment.