[Shellbar]: Not possible to center content in shellbar content slot
Open
@PetyaMarkovaBogdanova is already working on this.
Since Mar 10, 2025.
consulting
for discussion
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 285
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 59
Description
Bug Description
After updating to > WC 2.0 we are not able to center any Ui element in the shellbar.
We tried using the content slot and wrap spacers around -> Example
Previously we used the midContent slot, to achieve our needs. This was working fine for cases like this:
Can you please give us some guidance if we do anything wrong?
Affected Component
ui5-shellbar
Expected Behaviour
We want to be able to center content in the shellbar
Isolated Example
Provided above
Steps to Reproduce
...
Log Output, Stack Trace or Screenshots
No response
Priority
High
UI5 Web Components Version
2.8.0
Browser
Chrome
Operating System
macOs
Additional Context
No response
Organization
SAP - SIX
Declaration
- I’m not disclosing any internal or sensitive information.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.