The menu in the p-menubar copied from the official website show abnormally? The first menu item in the menu list is shifted to the right. How can this issue be resolved? #16802
The menu in the p-menubar copied from the official website show abnormally.The first menu item in the menu list is shifted to the right. How can this issue be resolved?
Describe the bug
The menu in the p-menubar copied from the official website show abnormally.The first menu item in the menu list is shifted to the right. How can this issue be resolved?
Environment
angular: ^18.2.0 node.js: v20.11.1 chrome、edge
Reproducer
No response
Angular version
^18.2.0
PrimeNG version
^17.18.11
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.11.1
Browser(s)
chrome edge
Steps to reproduce the behavior
1.app.component.html
app.component.scss
.dark-tooltip { .p-tooltip { .p-tooltip-arrow { border-top-color: var(--surface-900); }
} }
4.angular.json
5.styles.scss
Expected behavior
No response