24 lines · 846 B · TypeScript
RawDownload
export const COMPOSER_FOOTER_COMPACT_BREAKPOINT_PX = 620;export const COMPOSER_FOOTER_WIDE_ACTIONS_COMPACT_BREAKPOINT_PX = 780;export const COMPOSER_PRIMARY_ACTIONS_COMPACT_BREAKPOINT_PX =  COMPOSER_FOOTER_WIDE_ACTIONS_COMPACT_BREAKPOINT_PX; export function shouldUseCompactComposerFooter(  width: number | null,  options?: { hasWideActions?: boolean },): boolean {  const breakpoint = options?.hasWideActions    ? COMPOSER_FOOTER_WIDE_ACTIONS_COMPACT_BREAKPOINT_PX    : COMPOSER_FOOTER_COMPACT_BREAKPOINT_PX;  return width !== null && width < breakpoint;} export function shouldUseCompactComposerPrimaryActions(  width: number | null,  options?: { hasWideActions?: boolean },): boolean {  if (!options?.hasWideActions) {    return false;  }  return width !== null && width < COMPOSER_PRIMARY_ACTIONS_COMPACT_BREAKPOINT_PX;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t