Skip to content

Commit a0562f7

Browse files
committed
chore: defaulting to bigger size for new project dialog for small screens for better UX
1 parent ec9b747 commit a0562f7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/extensionsIntegrated/Phoenix/html/new-project-template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="modal" style="background-color:#3C3F41; width:min(50%, 850px); height: 570px; display: flex; flex-direction: column; justify-content: space-between">
1+
<div class="modal new-project-modal-dialog">
22
<iframe title="New Project" id="newProjectFrame" width="100%" height="100%"
33
src={{newProjectURL}} style="border: 0px;visibility:hidden;" onload="this.style.visibility = 'visible';">
44
</iframe>

src/styles/brackets.less

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3548,3 +3548,12 @@ label input {
35483548
opacity: 1;
35493549
}
35503550
}
3551+
3552+
.new-project-modal-dialog{
3553+
background-color:#3C3F41;
3554+
width: 750px;
3555+
height: 570px;
3556+
display: flex;
3557+
flex-direction: column;
3558+
justify-content: space-between
3559+
}

0 commit comments

Comments
 (0)