Replace breakpoint.js with breakpoints from gitlab-ui
We now export breakpoints
utilities from gitlab-ui
.
In order to reduce duplicated code, we can remove app/assets/javascripts/breakpoints.js
from our codebase and leverage the gitlab-ui
version.
Note: The breakpoints between the two version diverge since gitlab-ui
version already uses Bootstrap 4
breakpoints.
Breakpoint | gitlab |
gitlab ui |
---|---|---|
xl | - | 1200px |
lg | 1200px |
992px |
md | 992px |
768px |
sm | 768px |
576px |
xs | 0px |
0px |
Edited by Martin Wortschack