set up new workflow and migrate to .forgejo dir (#5)
Some checks failed
Deploy / deploy (push) Failing after 39s
Some checks failed
Deploy / deploy (push) Failing after 39s
Co-authored-by: Benjamin Palko <benjaminpalko@hotmail.com> Reviewed-on: #5
This commit is contained in:
parent
c37955c51b
commit
f526f5c0aa
99 changed files with 1866 additions and 1470 deletions
|
|
@ -1,9 +1,11 @@
|
|||
### menu
|
||||
|
||||
Menu is used to display a list of links vertically or horizontally
|
||||
|
||||
[menu docs](https://daisyui.com/components/menu/)
|
||||
|
||||
#### Class names
|
||||
|
||||
- component: `menu`
|
||||
- part: `menu-title`, `menu-dropdown`, `menu-dropdown-toggle`
|
||||
- modifier: `menu-disabled`, `menu-active`, `menu-focus`, `menu-dropdown-show`, `menu-paged`
|
||||
|
|
@ -11,20 +13,25 @@ Menu is used to display a list of links vertically or horizontally
|
|||
- direction: `menu-vertical`, `menu-horizontal`
|
||||
|
||||
#### Syntax
|
||||
|
||||
Vertical menu:
|
||||
|
||||
```html
|
||||
<ul class="menu">
|
||||
<li><button>Item</button></li>
|
||||
<li><button>Item</button></li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
Horizontal menu:
|
||||
|
||||
```html
|
||||
<ul class="menu menu-horizontal">
|
||||
<li><button>Item</button></li>
|
||||
<li><button>Item</button></li>
|
||||
</ul>
|
||||
```
|
||||
|
||||
#### Rules
|
||||
|
||||
- {MODIFIER} is optional and can have one of the modifier/size/direction class names
|
||||
- Use `lg:menu-horizontal` for responsive layouts
|
||||
- Use `menu-title` for list item title
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue