Skip to content

Commit

Permalink
Merge pull request #152 from LCOGT/fix/project-page-overflow
Browse files Browse the repository at this point in the history
fix to overflow on exposure panel in create project form
  • Loading branch information
LTDakin authored Apr 11, 2024
2 parents 3be107e + 72360f1 commit fdc5276
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/components/projects/CreateProjectForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,7 @@
:key="n"
class="exposure-row"
>
<b-field
:label="n==1 ? ' ' : ' '"
>
<b-checkbox v-model="exposures[n-1].active" />
</b-field>
<b-checkbox v-model="exposures[n-1].active" />
<b-field
size="is-small"
:label="n==1 ? 'Imtype' : ''"
Expand Down Expand Up @@ -1574,12 +1570,17 @@ export default {
margin-top: 1em;
}
.exposure-row {
display: flex;
white-space: nowrap;
}
.exposure-row > * {
margin-right: 8px;
display: inline-block;
}
.exposure-row:first-child .b-checkbox {
/* Since checkboxes don't have a label this shifts the first checkbox down */
margin-top: 20px
}
.flex-row {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit fdc5276

Please sign in to comment.