Skip to content

Commit 067c435

Browse files
committed
Fix for native input type='submit' styles
Since input with type='submit' styles have bigger value than ones that we declared in code, we want completely backward behaviour. So we added a few styles with webkit prefix to reach what we want.
1 parent e936bc7 commit 067c435

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/styles/NewSnippet.styl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ lang-bar-width-tablet = 170px
5555
color: text-light
5656
font-size: 15px
5757
text-align: center
58+
-webkit-appearance: none // we need this styles to overwrite safary's styles for input with type='submit'
59+
-webkit-border-radius: 0
5860
&:hover,
5961
&:focus
6062
background-color: snippet-post-button-active

0 commit comments

Comments
 (0)