Skip to content

Commit ffb6508

Browse files
committed
added style so that expandable arrow is shown when using label instead of fieldset
1 parent cff2de6 commit ffb6508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/src/widget-library/section.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ import { JsonSchemaFormService } from '../json-schema-form.service';
5757
</fieldset>`,
5858
styles: [`
5959
.legend { font-weight: bold; }
60-
.expandable > legend:before { content: '▶'; padding-right: .3em; }
61-
.expanded > legend:before { content: '▼'; padding-right: .2em; }
60+
.expandable > legend:before, .expandable > label:before { content: '▶'; padding-right: .3em; }
61+
.expanded > legend:before, .expanded > label:before { content: '▼'; padding-right: .2em; }
6262
`],
6363
})
6464
export class SectionComponent implements OnInit {

0 commit comments

Comments
 (0)