|
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:
292 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | 'use strict';
|
|---|
| 2 | /** @type {(rule: import('postcss').AnyNode[], prop: string) => import('postcss').Declaration} */
|
|---|
| 3 | module.exports = (rule, prop) => {
|
|---|
| 4 | return /** @type {import('postcss').Declaration} */ (
|
|---|
| 5 | rule.filter((n) => n.type === 'decl' && n.prop.toLowerCase() === prop).pop()
|
|---|
| 6 | );
|
|---|
| 7 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.