Skip to content

Commit

Permalink
Fix display
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed May 20, 2021
1 parent 41eb15b commit c95037a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion src/components/FileSelection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
placeholder="Select a repo"
field="name"
:open-on-focus="true"
v-model="selectedRepo"
@select="
repo => {
selectedRepo = repo.name;
Expand Down Expand Up @@ -235,6 +236,7 @@ export default {
this.listGists();
},
async listOwners() {
this.githubTreeConfig = null;
this.selectedUser = null;
this.selectedRepo = null;
this.selectedBranch = null;
Expand Down Expand Up @@ -262,6 +264,7 @@ export default {
return repos;
},
async listRepos() {
this.githubTreeConfig = null;
this.selectedRepo = null;
this.selectedBranch = null;
this.currentRepoPage = 0;
Expand All @@ -272,6 +275,7 @@ export default {
this.repos = this.repos.concat(await this.getRepos());
},
async listBranches() {
this.githubTreeConfig = null;
this.selectedBranch = null;
const repo = this.repos.filter(
repo => repo.name === this.selectedRepo
Expand All @@ -289,6 +293,7 @@ export default {
}
},
async getTree() {
this.githubTreeConfig = null;
const loadingComponent = this.$buefy.loading.open({
container: this.$el
});
Expand Down Expand Up @@ -420,7 +425,7 @@ export default {
auth: data.token
})
);
this.activeTab = 2;
this.activeTab = 3;
resolve();
}
);
Expand Down
8 changes: 4 additions & 4 deletions src/components/ImJoyEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -710,10 +710,10 @@ body {
}
.modal-card {
height: 800px;
max-height: 100vh!important;
width: 800px!important;
max-width: 100vw!important;
height: 800px !important;
max-height: 100vh !important;
width: 800px !important;
max-width: 100vw !important;
}
.modal-card-head {
Expand Down

0 comments on commit c95037a

Please sign in to comment.