Skip to content

Commit

Permalink
wide save button
Browse files Browse the repository at this point in the history
  • Loading branch information
hogashi committed Nov 8, 2024
1 parent f0e0ecc commit 06371ed
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions dist/css/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,10 @@ video {
height: 1.5rem;
}

.w-1 {
width: 0.25rem;
}

.w-1\/2 {
width: 50%;
}
Expand All @@ -595,6 +599,14 @@ video {
width: 1rem;
}

.w-2 {
width: 0.5rem;
}

.w-4\/5 {
width: 80%;
}

.flex-col {
flex-direction: column;
}
Expand Down
2 changes: 1 addition & 1 deletion src/extension-contexts/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const Popup = (props: Props): JSX.Element => {
</div>
<button
type="submit"
className="saveSettingButton rounded-md bg-indigo-600 w-1/2 mt-1 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
className="saveSettingButton rounded-md bg-indigo-600 w-4/5 mt-1 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
onClick={onSave}
>
{saveButtonText}
Expand Down

0 comments on commit 06371ed

Please sign in to comment.