Skip to content

Commit

Permalink
feat(gaufre): update style to match upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
marc.sirisak committed Jun 18, 2024
1 parent c161737 commit 8147bd6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
13 changes: 10 additions & 3 deletions res/css/common/_TchapGaufre.pcss
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
.lasuite-gaufre-tchap {
border: solid 1px #9999fc;
color: #9999fc;
--gaufre-color: #9999fc;

border: solid 1px var(--gaufre-color);
color: var(--gaufre-color);

&::before {
background: #9999fc;
background: var(--gaufre-color);
}
}

#tchap-gaufre {
overflow: scroll;
height: 300px;
}
2 changes: 1 addition & 1 deletion src/tchap/components/views/common/Gaufre.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const TchapGaufre: React.FC<{
managed={false}
focusLock={true}
>
<div id="tchap-gaufre" ref={gaufreContentRef}>
<div id="tchap-gaufre" className="lasuite--gaufre-borderless" ref={gaufreContentRef}>
</div>
</ContextMenu>
);
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ module.exports = (env, argv) => {
minify: false,
templateParameters: {
og_image_url: ogImageUrl,
csp_extra_source: process.env.CSP_EXTRA_SOURCE ?? "",
csp_extra_source: "https://integration.lasuite.numerique.gouv.fr/", // :TCHAP:
},
}),

Expand Down

0 comments on commit 8147bd6

Please sign in to comment.