Skip to content

Commit

Permalink
button style reset safari
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Oct 8, 2024
1 parent 7e9264c commit d6af022
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
6 changes: 1 addition & 5 deletions app/components/GooeyPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ export default function GooeyPopover({
animation="scale"
{...props}
>
<button
type="button"
className="border-0 bg-transparent"
onClick={() => setVisible(!visible)}
>
<button type="button" onClick={() => setVisible(!visible)}>
<RenderedChildren
children={children}
onChange={onChange}
Expand Down
13 changes: 13 additions & 0 deletions app/styles/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -783,3 +783,16 @@ a.text-primary:hover {
.modal-header {
align-items: start;
}

button {
-webkit-appearance: none;
border-radius: 0;
text-align: inherit;
background: none;
box-shadow: none;
padding: 0;
cursor: pointer;
border: none;
color: inherit;
font: inherit;
}

0 comments on commit d6af022

Please sign in to comment.