SAP / openui5

OpenUI5 lets you build enterprise-ready web applications, responsive to all devices, running on almost any browser of your choice.
http://openui5.org
Apache License 2.0
2.96k stars 1.24k forks source link

The "sapUiSizeCompact" class does not seem to have any effect when using the "sap_bluecrystal" theme. #3766

Closed concosminx closed 1 year ago

concosminx commented 1 year ago

OpenUI5 version: 1.114.0

Browser/version (+device/version): Mozilla Firefox 113.0.2 (64-bit)

Any other tested browsers/devices(OK/FAIL): Chrome 113.0.5672.127 (FAIL)

URL (minimal example if possible): N/A

User/password (if required and possible - do not post any confidential information here): N/A

Steps to reproduce the problem:

  1. Download the Input states sample from OpenUI5 Samples
  2. Replace the src with the CDN version //openui5.hana.ondemand.com/1.114.0/resources/sap-ui-core.js
  3. Replace the _sap_fiori3 theme with _sapbluecrystal
  4. Replace the body class sapUiSizeCozy with sapUiSizeCompact

What is the expected result? The rendering of the inputs is done according to compact content density.

What happens instead? The rendering of the inputs is done according to cozy content density.

Any other information? (attach screenshot if possible)

1) Expected (the screenshot for 1.113.0 version + sap_bluecrystal theme ):

image

Reality (the screenshot for 1.114.0 version + sap_bluecrystal):

image

2) The problem does not appear for the _saphorizon or _sap_fiori3 themes.

image

Thanks for your help!

Todor-ads commented 1 year ago

Hello @concosminx, Thank you for sharing this finding. Unfortunately this theme is no longer supported since version 1.40 and we recommend using newer themes. You can find more information here https://sapui5.hana.ondemand.com/#/topic/a87ca843bcee469f82a9072927a7dcdb

Regards, Todor

concosminx commented 1 year ago

@Todor-ads Thank you for your prompt answer. We will migrate to a supported theme.