Files
wekan/client/components/main/popup.css
T
Lauri Ojansivu 2536861b79 - Full right-to-left (RTL) UI for every page when an RTL language is selected
(Arabic and its variants, Persian/Farsi, Hebrew, Uyghur, Uzbek-Arabic and
  Yiddish — the languages flagged `rtl: true` in `imports/i18n/languages.js`).
  Previously only some pages flipped. The root `<html>` element now gets a
  reactive `dir="rtl"`/`dir="ltr"` attribute that follows the chosen language, so
  the whole UI mirrors at once. To make this work on every page rather than a
  handful, all directional component CSS was converted to CSS logical properties
  (`margin-left`→`margin-inline-start`, `left:`→`inset-inline-start:`,
  `text-align: left`→`text-align: start`, `float: left`→`float: inline-start`,
  and the mirror-image right/end variants) across 48 stylesheets, which flip
  automatically with `dir`. Horizontal-centering rules using
  `left: 50%` + `transform: translate(-50%, …)` were intentionally kept physical,
  since those already center correctly in both directions. The calendar view also
  renders RTL. Thanks to xet7 and Claude.
- Tests for the RTL UI. A fast, server-less `tests/rtl.test.js` (run with
  `node tests/rtl.test.js`) checks that exactly the expected languages are
  flagged `rtl: true`, that the direction helper maps each language to the right
  `dir` value, that the root `<html>` and the client keep `dir` in sync, and —
  as a regression guard — that component CSS keeps using logical properties
  (no physical `margin-left`/`float: left`/bare `left:` offsets sneak back in).
  A Playwright browser spec `tests/playwright/specs/18-rtl-layout.e2e.js` drives
  the app in both English (LTR) and Arabic (RTL) and asserts, on the boards list,
  board view, card details, my-cards / due-cards / global-search, the admin
  settings page and the login page, that the direction is correct, the
  translated text is visible, and leading-edge content (the boards menu, the
  first board list) sits on the correct side. Thanks to xet7 and Claude.
- Fixed the "Meteor unit tests" CI job hanging until its 45-minute timeout. The
  workflow set `TEST_WATCH: '0'`, but meteortesting:mocha computes
  `testWatch: TEST_WATCH || …` and the string `'0'` is truthy in JavaScript, so
  it turned on watch mode and the process never exited. Removing the env var lets
  `meteor test --once` finish and exit with the correct status.

Thanks to xet7 and Claude !

Fixes #6136,
fixes #3376,
fixes #884
2026-06-14 08:59:58 +03:00

827 lines
22 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.pop-over {
background: #fff;
border-radius: 0.4vw;
border: 1px solid #dbdbdb;
border-bottom-color: #c2c2c2;
box-shadow: 0 0.2vh 0.8vh rgba(0, 0, 0, 0.3);
position: absolute;
/* Wider default to fit full color palette */
width: min(380px, 55vw);
z-index: 99999;
margin-top: 0.7vh;
}
.pop-over hr {
margin: 0.5vh 0px;
}
.pop-over p,
.pop-over textarea,
.pop-over input[type='text'],
.pop-over input[type='email'],
.pop-over input[type='password'],
.pop-over input[type='file'] {
width: 100%;
}
.pop-over select {
width: 100%;
margin-bottom: 1.8vh;
}
.pop-over textarea {
height: 9vh;
}
.pop-over form a span {
padding: 0 0.7vw;
}
.pop-over .header {
height: 4.5vh;
position: relative;
margin-bottom: 1vh;
background: #f7f7f7;
border-bottom: 1px solid #dcdcdc;
color: #666;
}
.pop-over .header .header-title {
display: block;
line-height: 4vh;
padding-top: 0.5vh;
margin: 0 1.3vw;
font-weight: bold;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.pop-over .header .back-btn {
float: inline-start;
overflow: hidden;
width: 4vw;
transition: width 0.2s;
}
.pop-over .header .back-btn i.fa {
margin: 1.3vw;
margin-top: 1.5vh;
}
.pop-over .header .back-btn.is-hidden {
width: 0;
}
.pop-over .header .close-btn {
padding: 1.3vh 1.3vw 1.3vh 0.5vw;
position: absolute;
top: 0;
inset-inline-end: 0;
}
.pop-over.no-title .header {
background: none;
}
.pop-over .content-wrapper {
width: 100%;
max-height: calc(70vh + 20px);
overflow-y: auto;
overflow-x: hidden;
}
/* Bounded height: flex column + clip so inline max-height cannot spill past the shell.
Class pop-over--bounded matches popup.tpl.jade when max-height is set (more reliable
than attribute substring matching on the style attribute alone). */
.pop-over.pop-over--bounded,
.pop-over[style*='max-height'] {
overflow: hidden;
display: flex;
flex-direction: column;
min-height: 0;
box-sizing: border-box;
}
.pop-over.pop-over--bounded .header,
.pop-over[style*='max-height'] .header {
flex: 0 0 auto;
}
.pop-over.pop-over--bounded .content-wrapper,
.pop-over[style*='max-height'] .content-wrapper {
/* 0% basis: use remaining space under header, scroll inside (not past white bg) */
flex: 1 1 0%;
min-height: 0;
max-height: none;
overflow-y: auto;
overflow-x: hidden;
background: inherit;
}
.pop-over .content-container {
width: 100%;
max-height: calc(70vh + 20px);
transition: transform 0.2s;
}
/* Allow dynamic max-height to override default constraint for content-container */
.pop-over.pop-over--bounded .content-container,
.pop-over[style*='max-height'] .content-container {
max-height: none;
}
/* Fix overflow in the Member Settings (member menu) popup:
the popup itself gets a max-height inline style, but the header consumes space.
Make the header overlay the scrollable area so the list can't spill out. */
.pop-over[data-popup='memberMenuPopup'] {
overflow: hidden;
}
.pop-over[data-popup='memberMenuPopup'] > .header {
position: absolute;
top: 0;
inset-inline-start: 0;
inset-inline-end: 0;
margin-bottom: 0;
z-index: 1;
}
.pop-over[data-popup='memberMenuPopup'] > .content-wrapper {
padding-top: calc(4.5vh + 1vh);
box-sizing: border-box;
}
/* Admin edit popups: use full height */
.pop-over[data-popup='editUserPopup'],
.pop-over[data-popup='editOrgPopup'],
.pop-over[data-popup='editTeamPopup'] {
height: calc(100vh - 20px) !important;
max-height: calc(100vh - 20px) !important;
}
.pop-over[data-popup='editUserPopup'] .content-wrapper,
.pop-over[data-popup='editOrgPopup'] .content-wrapper,
.pop-over[data-popup='editTeamPopup'] .content-wrapper {
max-height: calc(100vh - 80px) !important; /* Subtract header height */
height: calc(100vh - 80px) !important;
overflow-y: auto !important;
}
.pop-over[data-popup='editUserPopup'] .content-container,
.pop-over[data-popup='editOrgPopup'] .content-container,
.pop-over[data-popup='editTeamPopup'] .content-container {
max-height: calc(100vh - 80px) !important; /* Subtract header height */
height: calc(100vh - 80px) !important;
}
/* Ensure language popup list can scroll properly */
.pop-over .pop-over-list {
max-height: none;
overflow: visible;
}
/* Specific styling for language popup list */
.pop-over[data-popup='changeLanguagePopup'] .pop-over-list {
max-height: none;
overflow: visible;
height: auto;
flex: 1;
}
/* Ensure content div in language popup contains all items */
.pop-over[data-popup='changeLanguagePopup'] .content {
height: auto;
/* Remove forced min-height to avoid top gap */
display: flex;
flex-direction: column;
}
/* Ensure hidden stack pages truly take no space */
.pop-over[data-popup='changeLanguagePopup'] .content.no-height {
min-height: 0 !important;
height: 0 !important;
padding: 0 !important;
margin: 0 !important;
visibility: hidden !important;
}
/* Make language popup extend to bottom of browser window */
.pop-over[data-popup='changeLanguagePopup'] {
position: fixed !important;
bottom: 0 !important;
top: auto !important;
inset-inline-start: auto !important;
inset-inline-end: 20px !important;
width: auto !important;
max-width: 450px !important;
height: 100vh !important;
max-height: 100vh !important;
min-height: 300px !important;
display: flex !important;
flex-direction: column !important;
margin: 0 !important;
}
/* Allow dynamic height for Change Language popup */
.pop-over[data-popup='changeLanguagePopup'] .header {
flex-shrink: 0 !important;
height: auto !important;
}
.pop-over[data-popup='changeLanguagePopup'] .content-wrapper {
flex: 1 !important;
overflow-y: auto !important;
overflow-x: hidden !important;
min-height: 0 !important;
max-height: none !important;
height: auto !important;
width: 100% !important;
}
.pop-over[data-popup='changeLanguagePopup'] .content-container {
height: auto !important;
max-height: none !important;
flex: 1 !important;
display: flex !important;
flex-direction: column !important;
width: 100% !important;
}
.pop-over[data-popup='changeLanguagePopup'] .content {
height: auto !important;
max-height: none !important;
padding-bottom: 50px !important;
width: 100% !important;
}
/* Date popup sizing for native HTML inputs */
.pop-over[data-popup='editCardReceivedDatePopup'],
.pop-over[data-popup='editCardStartDatePopup'],
.pop-over[data-popup='editCardDueDatePopup'],
.pop-over[data-popup='editCardEndDatePopup'],
.pop-over[data-popup*='Date'] {
width: min(400px, 90vw) !important; /* Smaller width for native inputs */
min-width: 350px !important;
max-height: 80vh !important;
}
.pop-over[data-popup='editCardReceivedDatePopup'] .content-wrapper,
.pop-over[data-popup='editCardStartDatePopup'] .content-wrapper,
.pop-over[data-popup='editCardDueDatePopup'] .content-wrapper,
.pop-over[data-popup='editCardEndDatePopup'] .content-wrapper,
.pop-over[data-popup*='Date'] .content-wrapper {
max-height: 60vh !important;
overflow-y: auto !important;
}
.pop-over[data-popup='editCardReceivedDatePopup'] .content-container,
.pop-over[data-popup='editCardStartDatePopup'] .content-container,
.pop-over[data-popup='editCardDueDatePopup'] .content-container,
.pop-over[data-popup='editCardEndDatePopup'] .content-container,
.pop-over[data-popup*='Date'] .content-container {
max-height: 60vh !important;
}
/* Native HTML input styling */
.pop-over[data-popup*='Date'] .datepicker-container {
width: 100% !important;
padding: 15px !important;
}
.pop-over[data-popup*='Date'] .datepicker-container .fields {
display: flex !important;
gap: 15px !important;
margin-bottom: 15px !important;
}
.pop-over[data-popup*='Date'] .datepicker-container .fields .left,
.pop-over[data-popup*='Date'] .datepicker-container .fields .right {
flex: 1 !important;
width: auto !important;
}
.pop-over[data-popup*='Date'] .datepicker-container label {
display: block !important;
margin-bottom: 5px !important;
font-weight: bold !important;
}
.pop-over[data-popup*='Date'] .datepicker-container input[type='date'],
.pop-over[data-popup*='Date'] .datepicker-container input[type='time'] {
width: 100% !important;
padding: 8px !important;
border: 1px solid #ccc !important;
border-radius: 4px !important;
font-size: 14px !important;
box-sizing: border-box !important;
}
.pop-over[data-popup*='Date'] .datepicker-container input[type='date']:focus,
.pop-over[data-popup*='Date'] .datepicker-container input[type='time']:focus {
outline: none !important;
border-color: #007cba !important;
box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2) !important;
}
/* Ensure date popup buttons stay within popup boundaries */
.pop-over[data-popup='editCardReceivedDatePopup'] .content,
.pop-over[data-popup='editCardStartDatePopup'] .content,
.pop-over[data-popup='editCardDueDatePopup'] .content,
.pop-over[data-popup='editCardEndDatePopup'] .content,
.pop-over[data-popup*='Date'] .content {
max-height: 60vh !important; /* Leave space for buttons */
overflow-y: auto !important;
padding-bottom: 100px !important; /* More space for buttons */
margin-bottom: 0 !important;
}
/* Workspace Settings popup: ensure modal doesn't overflow viewport */
.pop-over[data-popup='workspaceActionsPopup'] {
max-height: 80vh !important;
width: min(420px, 85vw) !important;
}
.pop-over[data-popup='workspaceActionsPopup'] .content-wrapper {
max-height: calc(80vh - 70px) !important; /* Subtract header height */
overflow-y: auto !important;
}
.pop-over[data-popup='workspaceActionsPopup'] .content-container {
max-height: calc(80vh - 70px) !important;
}
.pop-over[data-popup='workspaceActionsPopup'] .content {
max-height: none !important; /* Allow content to scroll within container */
overflow: visible !important; /* Overflow handled by parent */
}
/* Card Details Actions popup: ensure menu doesn't overflow viewport */
.pop-over[data-popup="cardDetailsActionsPopup"] {
max-height: 80vh !important;
width: min(380px, 85vw) !important;
}
.pop-over[data-popup="cardDetailsActionsPopup"] .content-wrapper {
max-height: calc(80vh - 70px) !important; /* Subtract header height */
overflow-y: auto !important;
}
.pop-over[data-popup="cardDetailsActionsPopup"] .content-container {
max-height: calc(80vh - 70px) !important;
}
.pop-over[data-popup="cardDetailsActionsPopup"] .content {
max-height: none !important; /* Allow content to scroll within container */
overflow: visible !important; /* Overflow handled by parent */
}
.pop-over[data-popup='editCardReceivedDatePopup'] .datepicker-container,
.pop-over[data-popup='editCardStartDatePopup'] .datepicker-container,
.pop-over[data-popup='editCardDueDatePopup'] .datepicker-container,
.pop-over[data-popup='editCardEndDatePopup'] .datepicker-container,
.pop-over[data-popup*='Date'] .datepicker-container {
max-height: 50vh !important; /* Limit calendar height */
overflow-y: auto !important;
margin-bottom: 20px !important; /* Space before buttons */
}
/* Ensure buttons are properly positioned */
.pop-over[data-popup='editCardReceivedDatePopup'] .edit-date,
.pop-over[data-popup='editCardStartDatePopup'] .edit-date,
.pop-over[data-popup='editCardDueDatePopup'] .edit-date,
.pop-over[data-popup='editCardEndDatePopup'] .edit-date,
.pop-over[data-popup*='Date'] .edit-date {
display: flex !important;
flex-direction: column !important;
height: 100% !important;
}
.pop-over[data-popup='editCardReceivedDatePopup'] .edit-date .fields,
.pop-over[data-popup='editCardStartDatePopup'] .edit-date .fields,
.pop-over[data-popup='editCardDueDatePopup'] .edit-date .fields,
.pop-over[data-popup='editCardEndDatePopup'] .edit-date .fields,
.pop-over[data-popup*='Date'] .edit-date .fields {
flex-shrink: 0 !important;
margin-bottom: 15px !important;
}
.pop-over[data-popup='editCardReceivedDatePopup'] .edit-date .js-datepicker,
.pop-over[data-popup='editCardStartDatePopup'] .edit-date .js-datepicker,
.pop-over[data-popup='editCardDueDatePopup'] .edit-date .js-datepicker,
.pop-over[data-popup='editCardEndDatePopup'] .edit-date .js-datepicker,
.pop-over[data-popup*='Date'] .edit-date .js-datepicker {
flex: 1 !important;
overflow-y: auto !important;
}
.pop-over[data-popup='editCardReceivedDatePopup'] .edit-date button,
.pop-over[data-popup='editCardStartDatePopup'] .edit-date button,
.pop-over[data-popup='editCardDueDatePopup'] .edit-date button,
.pop-over[data-popup='editCardEndDatePopup'] .edit-date button,
.pop-over[data-popup*='Date'] .edit-date button {
flex-shrink: 0 !important;
margin-top: 15px !important;
position: relative !important;
z-index: 10 !important;
}
.pop-over .content-container .content {
/* Match wider popover, leave padding */
width: 100%;
padding: 1.3vh 1.3vw 1.3vh;
box-sizing: border-box;
/* Ensure content is not shifted left */
margin-inline-start: 0 !important;
}
/* Utility: remove left gutter inside specific popups */
.pop-over .content .flush-left {
margin-inline-start: 0;
padding-inline-start: 0;
width: 100%;
}
/* Swimlane popups: remove left gutter, align content fully left */
.pop-over .content form.swimlane-color-popup,
.pop-over .content .swimlane-height-popup {
margin-inline-start: 0;
padding-inline-start: 0;
width: 100%;
}
/* Color selection popups: ensure proper alignment */
.pop-over .content form.swimlane-color-popup .palette-colors,
.pop-over .content form.edit-label .palette-colors,
.pop-over .content form.create-label .palette-colors {
margin-inline-start: 0;
padding-inline-start: 0;
width: 100%;
}
/* Color palette items: ensure proper positioning */
.pop-over .content .palette-colors .palette-color {
margin-inline-start: 0;
margin-inline-end: 2px;
margin-bottom: 2px;
}
/* Fix popup depth containers - don't block transforms which are needed for popup navigation */
.pop-over .popup-container-depth-1,
.pop-over .popup-container-depth-2,
.pop-over .popup-container-depth-3,
.pop-over .popup-container-depth-4,
.pop-over .popup-container-depth-5,
.pop-over .popup-container-depth-6 {
margin-inline-start: 0 !important;
padding-inline-start: 0 !important;
}
/* Ensure buttons don’t reserve left space; align to flow */
.pop-over .content form.swimlane-color-popup .primary.confirm,
.pop-over .content form.swimlane-color-popup .negate.wide.right,
.pop-over .content .swimlane-height-popup .primary.confirm,
.pop-over .content .swimlane-height-popup .negate.wide.right {
float: none;
margin-inline-start: 0;
}
.pop-over .content-container .content.no-height {
height: 0;
overflow: hidden;
padding: 0;
margin: 0;
visibility: hidden;
}
.pop-over.search-over {
background: #f0f0f0;
min-height: 14vh;
}
.pop-over.search-over .header {
display: none;
}
.pop-over.search-over .content {
padding: 8px 4px 8px 10px;
margin-inline-end: 8px;
}
.pop-over .at-form .at-error,
.pop-over .at-form .at-result {
padding: 8px 12px;
margin: 0 0 10px 0;
}
.pop-over .at-form .at-error {
background: #ef9a9a;
}
.pop-over .at-form .at-result {
background: #b2dfdb;
}
.pop-over .sk-spinner {
margin: 40px auto;
}
.pop-over .popup-container-depth-1 {
transform: none;
}
.pop-over .popup-container-depth-2 {
transform: none;
}
.pop-over .popup-container-depth-3 {
transform: none;
}
.pop-over .popup-container-depth-4 {
transform: none;
}
.pop-over .popup-container-depth-5 {
transform: none;
}
.pop-over .popup-container-depth-6 {
transform: none;
}
.select-members-list,
.select-avatars-list {
margin-bottom: 8px;
}
.pop-over-list li {
display: block;
clear: both;
}
.pop-over-list li > a {
clear: both;
cursor: pointer;
display: block;
font-weight: 700;
padding: 1.5px 10px;
position: relative;
margin: 0;
text-decoration: none;
overflow: hidden;
line-height: 33px;
display: flex;
/* flex-wrap:wrap;*/
gap: 5px;
align-items: center;
color: #000 !important;
}
.pop-over-list li > a > .member {
align-self: flex-start;
flex: 0 0 auto;
}
.pop-over-list li > a .item-name {
display: block;
width: auto;
padding-inline-end: 22px;
}
.pop-over-list li > a:not(.disabled):hover {
background-color: #005377;
color: #fff;
}
.pop-over-list li > a:not(.disabled):hover .sub-name,
.pop-over-list li > a:not(.disabled):hover .quiet {
color: #eee;
}
.pop-over-list li > a:not(.disabled):hover .unread-indicator {
background: #fff;
}
.pop-over-list li > a .sub-name {
color: #8c8c8c;
display: block;
font-size: 12px;
font-weight: 400;
line-height: 15px;
}
.pop-over-list li > a.current {
background-color: #e2e6e9;
}
.pop-over-list li > a:active {
background-color: #2e85b8;
}
.pop-over-list li > a.disabled {
color: #8c8c8c;
cursor: default;
}
.pop-over-list li > a.disabled .vis-icon {
opacity: 0.35;
}
.pop-over-list li > a.disabled:hover {
background: none;
}
.pop-over-list li > a.disabled:hover .sub-name,
.pop-over-list li > a.disabled:hover .quiet {
color: #8c8c8c;
}
.pop-over-list li > a.disabled:active {
background: none;
}
.pop-over-list.inset li > a {
border-radius: 3px;
margin: 0;
}
.pop-over-list .pop-over-list.checkable .fa-check {
display: none;
position: absolute;
top: 6px;
inset-inline-end: 12px;
color: #3cb500;
}
.pop-over-list .pop-over-list.checkable li.active a {
padding-inline-end: 28px;
}
.pop-over-list .pop-over-list.checkable li.active a .fa-check {
display: block;
}
/* Grey check icons when grey icons setting is enabled */
body.grey-icons-enabled .pop-over-list .pop-over-list.checkable .fa-check {
color: #7a7a7a;
}
.pop-over.miniprofile .header {
border-bottom-color: transparent;
height: 30px;
position: absolute;
inset-inline-end: 0;
top: 0;
width: 60px;
z-index: 1;
}
.pop-over.miniprofile .header-title {
display: none;
}
.pop-over.miniprofile .pop-over-list {
padding-top: 8px;
}
.pop-over.miniprofile .miniprofile-header {
margin-top: 8px;
min-height: 56px;
position: relative;
}
.pop-over.miniprofile .miniprofile-header .member,
.pop-over.miniprofile .miniprofile-header .avatar {
position: absolute;
top: 2px;
inset-inline-start: 2px;
height: 50px;
width: 50px;
}
.pop-over.miniprofile .miniprofile-header .info {
margin: 0 0 0 64px;
word-wrap: break-word;
}
.pop-over.miniprofile .miniprofile-header .info h3 a {
text-decoration: none;
}
.pop-over.miniprofile .miniprofile-header .info h3 a:hover {
text-decoration: underline;
}
@media screen and (max-width: 800px) {
.pop-over {
width: 100%;
height: 100%;
overflow: hidden;
margin-top: 0px;
border: 0px solid #dbdbdb;
/* Ensure popups appear above card details on mobile */
z-index: 999999 !important;
/* iOS Safari scrolling fix */
-webkit-overflow-scrolling: touch;
}
.pop-over .header {
color: #fff;
background: #2980b9;
height: 48px;
padding: 0px 0px;
border: 0px;
margin: 0px 0px;
width: 100%;
position: absolute;
top: 0px;
}
.pop-over .header .header-title {
font-size: 20px;
font-weight: normal;
padding-top: 8px;
}
.pop-over .header .back-btn {
width: 30px;
padding: 8px 12px 8px 12px;
}
.pop-over .header .back-btn i.fa {
color: #fff;
}
.pop-over .header .close-btn {
padding: 10px 12px;
}
.pop-over .header .close-btn i.fa {
font-size: 24px;
color: #fff;
}
.pop-over .content-wrapper {
width: 100%;
height: calc(100% - 48px);
overflow-y: scroll;
overflow-x: hidden;
margin: 48px 0px 0px 0px;
}
.pop-over .content-container {
width: 100%;
height: 100%;
max-height: 100%;
}
.pop-over .content-container .content {
width: calc(100% - 20px);
height: calc(100% - 20px);
padding: 10px;
}
.pop-over .content-container .content form {
margin: 10px 10px;
width: calc(100% - 20px);
}
.pop-over .content-container .content p,
.pop-over .content-container .content textarea,
.pop-over .content-container .content input[type='text'],
.pop-over .content-container .content input[type='email'],
.pop-over .content-container .content input[type='password'],
.pop-over .content-container .content input[type='file'] {
width: 100%;
box-sizing: border-box;
}
.pop-over .pop-over-list li > a {
width: calc(100% - 20px);
margin: 0px 0px;
}
.pop-over .popup-container-depth-1 {
transform: none !important;
}
.pop-over .popup-container-depth-2 {
transform: none !important;
}
.pop-over .popup-container-depth-3 {
transform: none !important;
}
.pop-over .popup-container-depth-4 {
transform: none !important;
}
.pop-over .popup-container-depth-5 {
transform: none !important;
}
.pop-over .popup-container-depth-6 {
transform: none !important;
}
}
/* Force full-screen popups in mobile mode regardless of screen width */
body.mobile-mode .pop-over {
position: fixed !important;
top: 0 !important;
inset-inline-start: 0 !important;
inset-inline-end: 0 !important;
bottom: 0 !important;
width: 100vw !important;
height: 100vh !important;
max-width: 100vw !important;
max-height: 100vh !important;
}
body.mobile-mode .pop-over .content-wrapper {
width: 100% !important;
height: calc(100vh - 48px) !important;
max-height: calc(100vh - 48px) !important;
overflow-y: auto !important;
overflow-x: hidden !important;
}
/* ============================================
FIX: Popup overflow (Issues #6200, #6221, #6223)
Prevents menus from overflowing outside viewport
============================================ */
/* Specific fix for list actions menu */
.pop-over[data-popup="listActionsPopup"] {
max-height: 85vh !important;
}
.pop-over[data-popup="listActionsPopup"] .content-wrapper {
max-height: calc(85vh - 50px) !important;
overflow-y: auto !important;
}
/* Prevent any popup from overflowing viewport */
.pop-over {
max-height: 90vh !important;
display: flex !important;
flex-direction: column !important;
}
.pop-over .content-wrapper {
flex: 1 1 auto !important;
overflow-y: auto !important;
min-height: 0 !important;
}
.pop-over .content-container {
flex: 1 1 auto !important;
display: flex !important;
flex-direction: column !important;
min-height: 0 !important;
}
.pop-over .content {
flex: 1 1 auto !important;
overflow-y: auto !important;
min-height: 0 !important;
}
/* Keep header fixed while content scrolls */
.pop-over .header {
flex-shrink: 0 !important;
}
/* Mobile-specific adjustments */
@media screen and (max-width: 800px) {
.pop-over[data-popup="listActionsPopup"] {
max-height: 100vh !important;
}
.pop-over[data-popup="listActionsPopup"] .content-wrapper {
max-height: calc(100vh - 48px) !important;
}
}