Skip to content
Draft
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
9 changes: 9 additions & 0 deletions assets/js/components/Loadpoints/SessionInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<template #label>
<CustomSelect
inline
class="labelSelect"
:selected="selectedKey"
:options="selectOptions"
data-testid="sessionInfoSelect"
Expand Down Expand Up @@ -201,6 +202,14 @@ export default defineComponent({
user-select: none;
-webkit-user-select: none;
}
/* Truncation (overflow: hidden via .text-truncate-xs-only) moves the baseline of the

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See agents.md

inline select to its bottom edge, growing the label's line box and pushing the value
below the other loadpoint values on narrow screens (#31993). Top-align the select to
keep the label at its normal line height. !important is needed to win over the
Bootstrap .align-baseline utility set by CustomSelect. */
.sessionInfo :deep(.labelSelect) {
vertical-align: top !important;
}
.sessionInfo .value {
cursor: pointer;
}
Expand Down
Loading