File tree Expand file tree Collapse file tree
libs/ui-react/.storybook/components/DoVsDont Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const DoBlockItem: React.FC<DoBlockItemProps> = ({
3535 ) }
3636
3737 { /* Code Block */ }
38- < div className = '[&_pre ]:m-0! [&_pre ]:rounded-xs! [&_pre ]:border-2! [&_pre ]:border-[#10B981]! [&_pre ]:bg-[#F0FDF4]!' >
38+ < div className = '[&>*:first-child_pre ]:m-0! [&>*:first-child_pre ]:rounded-xs! [&>*:first-child_pre ]:border-2! [&>*:first-child_pre ]:border-[#10B981]! [&>*:first-child_pre ]:bg-[#F0FDF4]!' >
3939 { children }
4040 </ div >
4141 </ div >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export const DontBlockItem: React.FC<DontBlockItemProps> = ({
3535 ) }
3636
3737 { /* Code Block */ }
38- < div className = '[&_pre ]:m-0! [&_pre ]:rounded-xs! [&_pre ]:border-2! [&_pre ]:border-[#EF4444]! [&_pre ]:bg-[#FEF2F2]!' >
38+ < div className = '[&>*:first-child_pre ]:m-0! [&>*:first-child_pre ]:rounded-xs! [&>*:first-child_pre ]:border-2! [&>*:first-child_pre ]:border-[#EF4444]! [&>*:first-child_pre ]:bg-[#FEF2F2]!' >
3939 { children }
4040 </ div >
4141 </ div >
You can’t perform that action at this time.
0 commit comments