Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove invalid CSS hack for IE 7 and earlier
Lightning CSS fails to parse this invalid CSS by default:
https://lightningcss.dev/docs.html#error-recovery

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
  • Loading branch information
andersk committed Nov 6, 2024
commit 63342a3a86ddf7dcaf7e624ee252c181ee8da3e9
6 changes: 0 additions & 6 deletions spectrum.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ License: MIT
top:0;
left:0;
display:inline-block;
*display: inline;
*zoom: 1;
/* https://github.com/bgrins/spectrum/issues/40 */
z-index: 9999994;
overflow: hidden;
Expand Down Expand Up @@ -216,7 +214,6 @@ License: MIT
/* Clearfix hack */
.sp-cf:before, .sp-cf:after { content: ""; display: table; }
.sp-cf:after { clear: both; }
.sp-cf { *zoom: 1; }

/* Mobile devices, make hue slider bigger so it is easier to slide */
@media (max-device-width: 480px) {
Expand Down Expand Up @@ -368,8 +365,6 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
cursor:pointer;
padding: 4px;
display:inline-block;
*zoom: 1;
*display: inline;
border: solid 1px #91765d;
background: #eee;
color: #333;
Expand Down Expand Up @@ -402,7 +397,6 @@ See http://bgrins.github.io/spectrum/themes/ for instructions.
}

.sp-palette {
*width: 220px;
max-width: 220px;
}
.sp-palette .sp-thumb-el {
Expand Down