File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ module.exports = plugin.withOptions(
9797 [ 'td' ] ,
9898 [ 'img' ] ,
9999 [ 'picture' ] ,
100- [ 'images' , 'img' , 'picture' ] ,
101100 [ 'video' ] ,
102101 [ 'hr' ] ,
103102 [ 'lead' , '[class~="lead"]' ] ,
@@ -134,4 +133,3 @@ module.exports = plugin.withOptions(
134133 }
135134 }
136135)
137-
Original file line number Diff line number Diff line change @@ -707,6 +707,7 @@ test('element variants', async () => {
707707 prose-th:text-left
708708 prose-td:align-center
709709 prose-img:rounded-lg
710+ prose-picture:my-8
710711 prose-video:my-12
711712 prose-hr:border-t-2
712713 "
@@ -855,6 +856,11 @@ test('element variants', async () => {
855856 : is (: where (img): not (: where ([class ~= 'not-prose' ], [class ~= 'not-prose' ] * ))) {
856857 border-radius : 0.5rem ;
857858 }
859+ .prose-picture\:my-8
860+ : is (: where (picture): not (: where ([class ~= 'not-prose' ], [class ~= 'not-prose' ] * ))) {
861+ margin-top : 2rem ;
862+ margin-bottom : 2rem ;
863+ }
858864 .prose-video\:my-12
859865 : is (: where (video): not (: where ([class ~= 'not-prose' ], [class ~= 'not-prose' ] * ))) {
860866 margin-top : 3rem ;
You can’t perform that action at this time.
0 commit comments