fix: increase modal size + change modal title
This commit is contained in:
@@ -290,7 +290,7 @@
|
|||||||
},
|
},
|
||||||
"help-translate": "We are still translating the following certifications.",
|
"help-translate": "We are still translating the following certifications.",
|
||||||
"help-translate-link": "Help us translate.",
|
"help-translate-link": "Help us translate.",
|
||||||
"project-preview-title": "Complete project demo."
|
"project-preview-title": "Here's a preview of what you will build"
|
||||||
},
|
},
|
||||||
"donate": {
|
"donate": {
|
||||||
"title": "Support our nonprofit",
|
"title": "Support our nonprofit",
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
.challenge-preview,
|
.challenge-preview,
|
||||||
.challenge-preview-frame {
|
.challenge-preview-frame {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
min-height: 70vh;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@@ -0,0 +1,3 @@
|
|||||||
|
.project-preview-modal {
|
||||||
|
min-width: 70%;
|
||||||
|
}
|
@@ -13,6 +13,8 @@ import {
|
|||||||
import { projectPreviewId } from '../utils/frame';
|
import { projectPreviewId } from '../utils/frame';
|
||||||
import Preview from './preview';
|
import Preview from './preview';
|
||||||
|
|
||||||
|
import './project-preview-modal.css';
|
||||||
|
|
||||||
export interface PreviewConfig {
|
export interface PreviewConfig {
|
||||||
challengeType: boolean;
|
challengeType: boolean;
|
||||||
challengeFiles: ChallengeFile[];
|
challengeFiles: ChallengeFile[];
|
||||||
|
Reference in New Issue
Block a user