mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
[TC Popup] Fix Calendar so it is not cutoff (#7596)
This commit is contained in:
committed by
GitHub
parent
f189a4d602
commit
b7b9ccbe65
@ -29,7 +29,7 @@
|
||||
}"
|
||||
>
|
||||
<a class="c-icon-button icon-calendar" @click="toggle"></a>
|
||||
<div v-if="open" class="c-menu c-menu--mobile-modal c-datetime-picker">
|
||||
<div v-if="open" role="dialog" class="c-menu c-menu--mobile-modal c-datetime-picker">
|
||||
<div class="c-datetime-picker__close-button">
|
||||
<button class="c-click-icon icon-x-in-circle" @click="toggle"></button>
|
||||
</div>
|
||||
|
@ -21,7 +21,7 @@
|
||||
/>
|
||||
<date-picker
|
||||
v-if="isUTCBased"
|
||||
class="c-ctrl-wrapper--menus-left"
|
||||
class="c-ctrl-wrapper--menus-right"
|
||||
:default-date-time="formattedBounds.start"
|
||||
:formatter="timeFormatter"
|
||||
@date-selected="startDateSelected"
|
||||
|
@ -454,6 +454,12 @@
|
||||
color: $colorTimeRealtimeFg;
|
||||
}
|
||||
}
|
||||
.c-ctrl-wrapper--menus-up{ // A bit hacky, but we are rewriting the CSS class here for ITC such that the calendar opens at the bottom to avoid cutoff
|
||||
.c-menu {
|
||||
top: auto;
|
||||
bottom: revert !important;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user