-
Hello, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @DrMalchev in general, using CSS is totally fine and even intended to be used. For example, for the There are certain properties and values that can affect the layout of a component, such as The only thing that is not recommended is customizing internal CSS (except for available part pseudo-elements), because the internal structure could change without notice. |
Beta Was this translation helpful? Give feedback.
Hi @DrMalchev
in general, using CSS is totally fine and even intended to be used. For example, for the
Text
(ui5-text
) web component, the recommended way of settingwhite-space
behavior is via CSS. Similarly, when using theFlexBox
, definingalign-content
for example, also requires CSS.There are certain properties and values that can affect the layout of a component, such as
display
,box-sizing
, andposition
, to name a few. However, this heavily depends on the component, and even more so if it's a web component wrapped by our wrapper or a React component. Still, it’s essential to check if the component looks fine after applying CSS that can affect the layout.The only thing that is not r…