Skip to content

Commit

Permalink
fix minimap not drawn when single block error
Browse files Browse the repository at this point in the history
  • Loading branch information
gamcil committed Jul 31, 2024
1 parent fc6fe4b commit 44c5408
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
12 changes: 9 additions & 3 deletions frontend/MSA.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
</div>
</div>
</v-col>
<v-col style="display: flex; flex-direction: row; height: 100%; width: 100%; padding: 0; margin: 0;">
<v-col class="minimap-col">
<div
v-for="(block, i) in cssGradients"
:key="'col-' + i"
Expand Down Expand Up @@ -448,8 +448,6 @@ export default {
position: relative;
display: inline-block;
border: 1px solid grey;
}
.gradient-block-col:not(:last-child) {
height: 80px;
}
.gradient-block {
Expand All @@ -469,6 +467,14 @@ export default {
height: fit-content;
z-index: 1;
}
.minimap-col {
display: flex;
flex-direction: row;
height: 100%;
width: 100%;
padding: 0;
margin: 0;
}
.gradient-block-col::before {
content: '';
position: absolute;
Expand Down
9 changes: 7 additions & 2 deletions frontend/ResultFoldMason.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<v-container grid-list-md fluid pa-2>
<v-layout wrap>
<v-flex xs12>
<panel>
<panel class="msa-panel">
<template slot="header">
<template v-if="!$LOCAL && !msaData">
<span class="hidden-sm-and-down">Results for job:&nbsp;</span>
Expand Down Expand Up @@ -164,4 +164,9 @@ export default {
},
}
};
</script>
</script>
<style scoped>
.msa-panel {
margin-bottom: 600px;
}
</style>

0 comments on commit 44c5408

Please sign in to comment.