Make recursive preview desktop only
This commit is contained in:
@@ -20,7 +20,8 @@ export default (props: { project: Project, odd: boolean }) => {
|
||||
class={styles.Project}
|
||||
classList={{
|
||||
[styles.Project_odd]: props.odd,
|
||||
[styles.Project_halfWidth]: props.project.halfWidth
|
||||
[styles.Project_halfWidth]: props.project.halfWidth,
|
||||
[styles.Project_desktopOnly]: props.project.desktopOnly
|
||||
}}
|
||||
>
|
||||
{
|
||||
@@ -30,7 +31,7 @@ export default (props: { project: Project, odd: boolean }) => {
|
||||
class={styles.preview}
|
||||
src={props.project.preview as string}
|
||||
style={props.project.previewStyle}
|
||||
/>
|
||||
/>
|
||||
:
|
||||
<props.project.preview />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user