fix: increase modal size + change modal title

This commit is contained in:
moT01
2021-11-18 13:04:15 -06:00
parent d56e0168fa
commit e3ea689a97
4 changed files with 7 additions and 1 deletions

View File

@@ -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",

View File

@@ -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;

View File

@@ -0,0 +1,3 @@
.project-preview-modal {
min-width: 70%;
}

View File

@@ -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[];