Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. <div class="container"
  2. fxLayout = "row"
  3. fxLayoutAlign="center">
  4. <div class="item item-1" fxFlex="100%"><app-header></app-header>
  5. </div>
  6. </div>
  7. <div class="container main"
  8. fxLayout = "column"
  9. fxLayout.xs="column"
  10. fxLayoutAlign="center stretch"
  11. fxLayoutGap="10px"
  12. fxLayoutGap.xs="0">
  13.  
  14. <router-outlet></router-outlet>
  15. </div>
  16.  
  17.  
  18. <div class="container"
  19. fxLayout
  20. fxLayout.xs="row"
  21. fxLayoutAlign="center"
  22. fxLayoutGap="10px"
  23. fxLayoutGap.xs="0">
  24. <div class="item item-1" fxFlex="100%"><app-messages></app-messages>
  25. </div>
  26. </div>
  27.  
  28. <div class="scrollable-item" fxFlex="25%">
  29. <app-parts-list></app-parts-list> //here is the list to scroll
  30. </div>
  31. <div class="item" fxFlex="75%">
  32. <app-part-details></app-part-details>
  33. </div>
  34.  
  35. * {
  36. box-sizing: border-box;
  37. }
  38. body {
  39. display: flex;
  40. min-height: 100vh;
  41. margin: 0;
  42. }
  43.  
  44. .main {
  45. min-height: 0;
  46.  
  47. }
  48.  
  49. .scrollable-item {
  50. overflow: auto;
  51.  
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement