Skip to content

Commit 6ee96f3

Browse files
author
zhourenjian
committed
Fixing Button bugs for Opera 9.63
1 parent c1c3453 commit 6ee96f3

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/Button.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
font-size:1em;
4545
}
4646

47-
@media all and (min-width:0px){/* opera and safari */
47+
@media all and (-webkit-min-device-pixel-ratio:0){/* safari only */
4848
.button-push, .button-toggle {
4949
height:auto !important;
5050
top:-0.9em;
@@ -57,12 +57,6 @@
5757
margin-top:50%;
5858
padding:0.25em 0 0.35em 0;
5959
}
60-
html:first-child .button-push, html:first-child .button-toggle, html:first-child .button-arrow {
61-
top:auto;
62-
margin:auto;
63-
padding:auto;
64-
height:100% !important;
65-
}
6660
}
6761

6862
body:nth-of-type(1) .button-push-chrome,

0 commit comments

Comments
 (0)