File tree Expand file tree Collapse file tree 4 files changed +12
-17
lines changed Expand file tree Collapse file tree 4 files changed +12
-17
lines changed Original file line number Diff line number Diff line change 25
25
div.quantity ( data-hook ='usage-count' )
26
26
div.usage-since since
27
27
span( data-hook ='usage-since' )
28
- td.property1-column
29
- div.property.cardinality
30
- = model .cardinality
31
- i.link
32
- td.property2-column
28
+ td.property-column
33
29
div.properties
34
30
each prop in model .properties
35
31
if prop === ' ttl'
44
40
div( class ='property' )
45
41
= prop
46
42
i.link
43
+ if model .cardinality === ' compound'
44
+ div.property.cardinality
45
+ = model .cardinality
46
+ i.link
Original file line number Diff line number Diff line change 16
16
th.usage-column ( data-hook ='th-usage' ) Usage
17
17
i.sort.fa.fa-fw
18
18
i.fa.fa-fw.fa-sort
19
- th( data-hook ='th-cardinality' ) Cardinality
20
- i.sort.fa.fa-fw
21
- i.fa.fa-fw.fa-sort
22
19
th( data-hook ='th-properties' ) Properties
23
20
i.sort.fa.fa-fw
24
21
i.fa.fa-fw.fa-sort
Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ module.exports = View.extend({
69
69
'Type' : '[data-hook=th-type]' ,
70
70
'Size' : '[data-hook=th-size]' ,
71
71
'Usage' : '[data-hook=th-usage]' ,
72
- 'Cardinality' : '[data-hook=th-cardinality]' ,
73
72
'Properties' : '[data-hook=th-properties]'
74
73
}
75
74
} ,
Original file line number Diff line number Diff line change 39
39
& [data- hook= " th-name" ],
40
40
& [data- hook= " th-type" ],
41
41
& [data- hook= " th-size" ],
42
- & [data- hook= " th-cardinality" ],
43
42
& [data- hook= " th-properties" ] {
44
43
padding-left : 24px ;
45
44
}
99
98
padding : 0 0 24px 12px ;
100
99
position : relative ;
101
100
height : 48px ;
102
- width : 30 % ;
101
+ width : 40 % ;
103
102
104
103
& :hover {
105
104
.name {
124
123
padding-right : 24px ;
125
124
}
126
125
127
- & .util-column {
128
- width : 18% ;
129
- }
130
-
131
- & .type-column , & .property1-column , & .property2-column {
132
- width : 14% ;
126
+ & .type-column , & .property-column {
127
+ width : auto ;
133
128
padding-left : 24px ;
134
129
padding-right : 24px ;
135
130
}
136
131
132
+ & .usage-column {
133
+ width : 20% ;
134
+ }
135
+
137
136
.name {
138
137
font-size : 12px ;
139
138
color : @index-type-color ;
You can’t perform that action at this time.
0 commit comments