Skip to content

Commit d6af022

Browse files
committed
button style reset safari
1 parent 7e9264c commit d6af022

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

app/components/GooeyPopover.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ export default function GooeyPopover({
3333
animation="scale"
3434
{...props}
3535
>
36-
<button
37-
type="button"
38-
className="border-0 bg-transparent"
39-
onClick={() => setVisible(!visible)}
40-
>
36+
<button type="button" onClick={() => setVisible(!visible)}>
4137
<RenderedChildren
4238
children={children}
4339
onChange={onChange}

app/styles/custom.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,3 +783,16 @@ a.text-primary:hover {
783783
.modal-header {
784784
align-items: start;
785785
}
786+
787+
button {
788+
-webkit-appearance: none;
789+
border-radius: 0;
790+
text-align: inherit;
791+
background: none;
792+
box-shadow: none;
793+
padding: 0;
794+
cursor: pointer;
795+
border: none;
796+
color: inherit;
797+
font: inherit;
798+
}

0 commit comments

Comments
 (0)