Skip to content

Commit

Permalink
Improve project overview page
Browse files Browse the repository at this point in the history
- info-labels now have min-width instead of fixed width
- now refreshes on restart success
  • Loading branch information
Tim Etchells committed Jan 15, 2019
1 parent 991ce9f commit 5760718
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions dev/res/css/project-overview.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#main {
max-width: 600px;
max-width: 700px;
}

#top-section, #bottom-section {
Expand All @@ -17,18 +17,14 @@
margin-right: 10px;
}

table {
table-layout: fixed;
}

tr {
padding-bottom: 0.25em;
}

.info-label {
font-weight: bold;
padding-right: 1em;
width: 125px;
min-width: 125px;
}

input[type="checkbox"] {
Expand Down
1 change: 1 addition & 0 deletions dev/src/microclimate/project/Project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ export default class Project implements ITreeItemAdaptable, vscode.QuickPickItem

this.setAppPort(event.ports.exposedPort);
this.setDebugPort(event.ports.exposedDebugPort);
this.tryRefreshProjectInfoPage();

success = true;
}
Expand Down

0 comments on commit 5760718

Please sign in to comment.