Check out example codes for "remove horizontal scrollbar css". It will help you in understanding the concepts better.

Code Example 1

.x-scroll-disabled {
	overflow-x: hidden;
}

Code Example 2

overflow-x: hidden;

Code Example 3

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

Code Example 4

overflow-x: hidden

Code Example 5

/*for horizontal scroll functionality*/
.example{
  overflow-x: auto;
  flex-wrap: nowrap;
}

/* Hide horizontal scrollbar which you get after you use overflow-x as 
auto or hidden */
/*for Chrome, Safari and Opera */
.example::-webkit-scrollbar {
  display: none;
}
.example {
  -ms-overflow-style: none;  /*IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

Learn ReactJs, React Native from akashmittal.com