|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
386 bytes
|
| Line | |
|---|
| 1 | var plugin = {
|
|---|
| 2 | level1: {
|
|---|
| 3 | property: function boxShadow(_rule, property) {
|
|---|
| 4 | var values = property.value;
|
|---|
| 5 |
|
|---|
| 6 | // remove multiple zeros
|
|---|
| 7 | if (values.length == 4 && values[0][1] === '0' && values[1][1] === '0' && values[2][1] === '0' && values[3][1] === '0') {
|
|---|
| 8 | property.value.splice(2);
|
|---|
| 9 | property.dirty = true;
|
|---|
| 10 | }
|
|---|
| 11 | }
|
|---|
| 12 | }
|
|---|
| 13 | };
|
|---|
| 14 |
|
|---|
| 15 | module.exports = plugin;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.