// Popovers: one panel, instant (no transition or animation), kept inside the window on a phone. .menu-list, .tab-more-list, .strip-list, .corner-menu, .ref-menu, .pop-panel, .row-menu-panel { max-width: calc(100vw - 32px); transition: none; animation: none; } // Clone lives at the right end of the window, so its panel opens leftward. .repo-readme .clone > .menu-list, .repo-readme .clone > .pop-panel { right: 0 !important; left: auto !important; } // Actions moved left, so their menus open rightward from them and stay in the window. .watch-menu > .menu-list, .pins-menu > .pop-panel, .pins-menu > .menu-list, .clone > .menu-list, .clone > .pop-panel { right: auto !important; left: 0 !important; max-width: calc(100vw - 32px); } @media (max-width: 899px) { .pins-menu > .pop-panel, .pins-menu > .menu-list, .clone > .menu-list, .clone > .pop-panel, .repo-readme .clone > .menu-list, .repo-readme .clone > .pop-panel, details > .status-list, details.menu > .menu-list { position: fixed !important; top: auto; right: 16px !important; left: 16px !important; width: auto; max-width: none; } .line .val { flex-wrap: wrap; min-width: 0; max-width: 100%; white-space: normal; } .reveal, .reveal > .opened { min-width: 0; max-width: 100%; } .ci-tl-tools, .status-item { flex-wrap: wrap; min-width: 0; } .line:not(.issue-row) { flex-wrap: wrap; } // A repo's name is what the row is for: it keeps its line and never gets cut. .repo-item .name { flex: 1 1 100%; overflow: visible; white-space: normal; } .repo-item .val { white-space: normal; } // A repo row on a phone: the name, then its facts as two quiet lines, with room above and below // so the divider never touches the words. .repo-list > .line.repo-item { row-gap: 2px; padding-top: 10px; padding-bottom: 10px; } .repo-list > .line.repo-item > .repo-desc { flex: 1 1 100%; } } // The pins menu opens from its own words, as a panel with the menu's padding, over the page. details.pins-menu { position: relative; display: inline-block; align-self: flex-start; > .menu-list { z-index: 40; width: 320px; padding: 14px 16px; gap: 10px; } > .menu-list > .hint { margin: 0; } > .menu-list > button[type="submit"] { align-self: flex-start; } } // Inside the menu each repo is a menu row: one column, 34px, no hairlines. details.pins-menu > .menu-list > .pin-options { display: flex; flex-direction: column; gap: 0; li { border-bottom: 0; } label { min-height: 34px; align-items: center; padding: 0; } }