Custom CSS: You can use custom Cascading Style Sheets (CSS) to modify the layout of SharePoint lists and forms. CSS can be used to change the styling and positioning of elements, allowing you to achieve a more horizontal layout.
SharePoint Framework (SPFx): SharePoint Framework (SPFx) is a development framework for SharePoint that allows you to create custom web parts and extensions. You can use SPFx to create a custom web part that presents the data in a horizontal layout based on your requirements.
Power Apps: You can create custom forms using Power Apps that can be embedded within SharePoint. Power Apps provides flexibility in designing forms, allowing you to create a more horizontal layout if needed.
Third-Party Solutions: There are third-party add-ins and solutions available in the SharePoint app store that can provide enhanced customization options, including modifying the layout of lists and forms.