mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
[ci] format
This commit is contained in:
parent
6b640b3bcb
commit
3e168589d6
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ if (props.alt === undefined || props.alt === null) {
|
|||
}
|
||||
|
||||
// Picture attribute inherit scoped styles from class and attributes
|
||||
const scopedStyleClass = props.class?.match(/\bastro-\w{8}\b/)?.[0]
|
||||
const scopedStyleClass = props.class?.match(/\bastro-\w{8}\b/)?.[0];
|
||||
if (scopedStyleClass) {
|
||||
if (pictureAttributes.class) {
|
||||
pictureAttributes.class = `${pictureAttributes.class} ${scopedStyleClass}`;
|
||||
|
|
Loading…
Add table
Reference in a new issue