docs(theme-chalk): [menu] add how to set menu default height (#18113)

This commit is contained in:
云游君 2024-09-01 07:56:23 +08:00 committed by GitHub
parent d7e5f193cd
commit f365724f77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,6 +7,18 @@ lang: en-US
Menu that provides navigation for your website.
::: tip
If you want to override the default height of el-menu, you can use the following CSS:
```css
.el-menu--horizontal {
--el-menu-horizontal-height: 100px;
}
```
:::
## Top bar
Top bar Menu can be used in a variety of scenarios.