File tree Expand file tree Collapse file tree 7 files changed +12
-7
lines changed
source/_patterns/02-components Expand file tree Collapse file tree 7 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
push :
6
6
branches :
7
- - ' main'
8
- - ' dbux-3'
7
+ - " main"
8
+ - " dbux-3"
9
9
10
10
jobs :
11
11
init :
26
26
build :
27
27
uses : ./.github/workflows/01-build.yml
28
28
needs : [init]
29
-
29
+
30
30
checks-done :
31
31
runs-on : ubuntu-latest
32
32
steps :
Original file line number Diff line number Diff line change 1
- <details class =" {{ patternName }}{{ styleModifier }} " {{ #if linkEntries }} role =" navigation" {{ /if }} {{ #if oppositePosition }} data-horizontal-position =" opposite" {{ /if }} >
1
+ <details class =" {{ #if patternName }} {{ patternName }} {{ else }} cmp-overflow-menu {{ /if }} {{ styleModifier }} " {{ #if linkEntries }} role =" navigation" {{ /if }} {{ #if oppositePosition }} data-horizontal-position =" opposite" {{ /if }} >
2
2
<summary >{{ summary }} </summary >
3
3
{{ #if linkEntries }} <ul role =" group" >{{ else }} <menu type =" toolbar" >{{ /if }}
4
4
{{ #if linkEntries }}
Original file line number Diff line number Diff line change 1
1
{
2
- "patternName" : " cmp-overflow-menu" ,
3
2
"id" : " menu01" ,
4
3
"entry01" : " Modify" ,
5
4
"entry02" : " Delete" ,
Original file line number Diff line number Diff line change 1
1
{
2
- "patternName" : " cmp-overflow-menu" ,
3
2
"id" : " menu04" ,
4
3
"entry01" : " Modify" ,
5
4
"entry02" : " Delete" ,
Original file line number Diff line number Diff line change 21
21
{{ #if ../rowtitle }} <th scope =" row" >table header</th >{{ /if }}
22
22
<td {{ #if @first }}{{ #if ../icon }} data-icon =" {{ ../icon }} " {{ /if }}{{ /if }} >{{{ text01 }}} </td >
23
23
<td >{{{ text02 }}} </td >
24
+ {{ #if ../overflowMenu }} <td >{{> components-overflow-menu entry01 =" Edit" entry02 =" Delete" }} </td >{{ /if }}
24
25
</tr >
25
26
{{ /each }}
26
27
</tbody >
Original file line number Diff line number Diff line change 43
43
vertical-align : inherit ;
44
44
45
45
& :hover {
46
- overflow : auto ;
47
46
resize : horizontal ;
47
+
48
+ & :not (:has (.cmp-overflow-menu )) {
49
+ overflow : auto ;
50
+ }
48
51
}
49
52
}
50
53
Original file line number Diff line number Diff line change
1
+ {
2
+ "overflowMenu" : true
3
+ }
You can’t perform that action at this time.
0 commit comments