You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // @flow
  2. /**
  3. * The height of the filmstrip in narrow aspect ratio, or width in wide.
  4. */
  5. export const FILMSTRIP_SIZE = 90;
  6. /**
  7. * The aspect ratio of a tile in tile view.
  8. */
  9. export const TILE_ASPECT_RATIO = 16 / 9;
  10. /**
  11. * The aspect ratio of a square tile in tile view.
  12. */
  13. export const SQUARE_TILE_ASPECT_RATIO = 1;
  14. /**
  15. * Width below which the overflow menu(s) will be displayed as drawer(s).
  16. */
  17. export const DISPLAY_DRAWER_THRESHOLD = 512;
  18. /**
  19. * Breakpoint past which a single column view is enforced in tile view.
  20. */
  21. export const SINGLE_COLUMN_BREAKPOINT = 300;
  22. /**
  23. * Breakpoint past which a two column view is enforced in tile view.
  24. */
  25. export const TWO_COLUMN_BREAKPOINT = 1000;
  26. /**
  27. * Breakpoint past which the aspect ratio is switched in tile view.
  28. * Also, past this breakpoint, if there are two participants in the conference, we enforce
  29. * single column view.
  30. * If this is to be modified, please also change the related media query from the tile_view scss file.
  31. */
  32. export const ASPECT_RATIO_BREAKPOINT = 500;
  33. /**
  34. * The default number of columns for tile view.
  35. */
  36. export const DEFAULT_MAX_COLUMNS = 5;
  37. /**
  38. * An extended number of columns for tile view.
  39. */
  40. export const ABSOLUTE_MAX_COLUMNS = 7;