Skip to content

Commit

Permalink
Merge pull request #3796 from nextcloud/fix/noid/action-input-picker-…
Browse files Browse the repository at this point in the history
…width

Make datetimepicker full width in NcActionInput
  • Loading branch information
nickvergessen committed Feb 20, 2023
2 parents e605ab4 + 597883a commit 749109d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/NcActionInput/NcActionInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ For the multiselect component, all events will be passed through. Please see the
:disabled="disabled"
:type="datePickerType"
:input-class="['mx-input', { focusable: isFocusable }]"
class="action-input__picker"
class="action-input__datetimepicker"
v-bind="$attrs"
@input="onInput"
@change="onChange" />
Expand All @@ -145,6 +145,7 @@ For the multiselect component, all events will be passed through. Please see the
:value="value"
:type="nativeDatePickerType"
:class="{ focusable: isFocusable }"
class="action-input__datetimepicker"
v-bind="$attrs"
@input="$emit('input', $event)"
@change="$emit('change', $event)" />
Expand Down Expand Up @@ -591,8 +592,12 @@ $input-margin: 4px;
}
}
&__picker :deep(.mx-input) {
margin: 0;
&__datetimepicker {
width: 100%;
:deep(.mx-input) {
margin: 0;
}
}
&__multi {
Expand Down

0 comments on commit 749109d

Please sign in to comment.