Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make datetimepicker full width in NcActionInput #3796

Merged
merged 1 commit into from
Feb 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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