Skip to content

Commit

Permalink
Merge pull request #1330 from girder/max-merge-css
Browse files Browse the repository at this point in the history
Adjust how css is applied to the max-merge controls
  • Loading branch information
manthey authored Oct 4, 2023
2 parents 1f5892f + 48e54a0 commit c4e3ce2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Improvements
- Style can specify a dtype of 'source' to maintain the original dtype even when compositing frames ([#1326](../../pull/1326))
- Max Merge option in Frame Selector ([#1306](../../pull/1306))
- Max Merge option in Frame Selector ([#1306](../../pull/1306), [#1330](../../pull/1330))

### Changes
- Prohibit bioformats and vips from reading mrxs directly ([#1328](../../pull/1328))
Expand Down
16 changes: 13 additions & 3 deletions girder/girder_large_image/web_client/vue/components/DualInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
:disabled="merge"
>
</td>
<td style="width: 100%">
<td class="slider-control-cell">
<input
v-model="value"
type="range"
Expand All @@ -64,13 +64,13 @@ export default {
</td>
<td
v-show="merge !== undefined"
style="min-width: 150px; text-align: right;"
class="max-merge-cell"
:title="'Max Merge ' + label"
>
<input
:id="'maxMerge'+label"
v-model="merge"
type="checkbox"
style="margin: 0px 5px 0px 10px"
>
<label :for="'maxMerge'+label">Max Merge</label>
</td>
Expand Down Expand Up @@ -110,4 +110,14 @@ export default {
top: -1px;
left: 50%;
}
.slider-control-cell {
width: 100%;
}
.max-merge-cell {
min-width: 125px;
text-align: right;
}
.max-merge-cell input[type="checkbox"] {
margin: 0px 2px 0px 0px;
}
</style>

0 comments on commit c4e3ce2

Please sign in to comment.