File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ const config = {
249249 contextualSearch : true ,
250250 }
251251 : undefined ,
252- zoomSelector : ".markdown img" ,
252+ zoomSelector : ".markdown :not(em) > img:not(.no-zoom) " ,
253253 posthog : enablePosthog
254254 ? {
255255 apiKey : posthogConfig . apiKey ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export const Course: React.FunctionComponent<CourseProps> = ({
2828 < Card title = { title } icon = { icon } href = { href } >
2929 < p > { description } </ p >
3030 < p className = { styles . author } >
31- < img src = { authorImg } />
31+ < img src = { authorImg } className = "no-zoom" />
3232 < span > { author } </ span >
3333 </ p >
3434 < p >
Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ main {
7171
7272/* IMAGES & CAPTIONS */
7373
74- p > img {
74+ p > img : not (. no-zoom ) {
7575 display : block;
7676 margin : auto;
7777}
7878
79- p > img + em {
79+ p > img : not (. no-zoom ) + em {
8080 color : gray;
8181 font-size : 0.9rem ;
8282 display : block;
You can’t perform that action at this time.
0 commit comments