+
diff --git a/src/data-workspace/inputs/datetime-input.test.js b/src/data-workspace/inputs/datetime-input.test.js
index d4f4167e9..6b21abc47 100644
--- a/src/data-workspace/inputs/datetime-input.test.js
+++ b/src/data-workspace/inputs/datetime-input.test.js
@@ -92,7 +92,7 @@ describe('date input field', () => {
)
- const calendarInputLabel = getByText('Pick a date and time')
+ const calendarInputLabel = getByText('Pick a date')
const calendarInput = getByRole('textbox')
let calendar = queryByTestId('calendar')
@@ -150,7 +150,7 @@ describe('date input field', () => {
// check that mutate function was not called
expect(mutate.mock.calls).toHaveLength(0)
- const calendarInputLabel = getByText('Pick a date and time')
+ const calendarInputLabel = getByText('Pick a date')
const calendarInput = getByRole('textbox')
let calendar = queryByTestId('calendar')
@@ -251,7 +251,7 @@ describe('date input field', () => {
)
- const calendarInputLabel = getByText('Pick a date and time')
+ const calendarInputLabel = getByText('Pick a date')
const calendarInput = getByRole('textbox')
let calendar = queryByTestId('calendar')
@@ -300,7 +300,7 @@ describe('date input field', () => {
)
- const calendarInputLabel = getByText('Pick a date and time')
+ const calendarInputLabel = getByText('Pick a date')
const calendarInput = getByRole('textbox')
let calendar = queryByTestId('calendar')
diff --git a/src/data-workspace/inputs/inputs.module.css b/src/data-workspace/inputs/inputs.module.css
index b75348188..93309d8c9 100644
--- a/src/data-workspace/inputs/inputs.module.css
+++ b/src/data-workspace/inputs/inputs.module.css
@@ -110,6 +110,12 @@
margin-inline: var(--spacers-dp4);
}
-.dateTimeInput div {
- margin-block: var(--spacers-dp4);
-}
\ No newline at end of file
+.dateTimeInput {
+ padding-block: var(--spacers-dp4);
+}
+
+.timeLabel {
+ display: block;
+ font-size: 14px;
+ margin-block-end: var(--spacers-dp4);
+}