Inconsistency display size

I need help. I’ve created an AI application using Streamlit as the interface. The problem I’m facing is that when I launch the app on a 15.6-inch display, the interface looks fine, but when I open it on a 14-inch display, the layout becomes compact and some button text gets truncated — for example, “Training New Documentation” becomes “Training…”