Skip to content

Commit

Permalink
fix:component-set-legend
Browse files Browse the repository at this point in the history
  • Loading branch information
Maaliciaa committed Oct 18, 2023
1 parent 5929acc commit a84e8c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@inseefr/lunatic-dsfr",
"version": "1.0.3",
"version": "1.0.4",
"description": "Couche graphique pour Lunatic reposant sur le Système de Design de l'État (DSFR)",
"repository": {
"type": "git",
Expand Down
11 changes: 11 additions & 0 deletions src/ComponentSet/ComponentSet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ const useStyles = makeStyles()({
marginBottom: "1rem",
},
},
".lunatic-dsfr-component-set-component": {
".checkbox-lunatic-dsfr, .lunatic-dsfr-radio": {
"> legend": {
fontSize: "1rem !important",
lineHeight: "2.25rem !important",
padding: "0",
margin: "0 0 1.5rem 0.25rem",
fontWeight: "700 !important",
},
},
},
"> .fr-fieldset__element:last-child": {
marginBottom: "0",
},
Expand Down

0 comments on commit a84e8c2

Please sign in to comment.