narrow screen to adjust the width of the search box so that it does not exceed the width of the screen.
add a mask layer below the search box, the mask layer color has a relationship with the theme, light colors are masked with light colors, dark colors are masked with dark colors.