Skip to content

Commit

Permalink
style: hauteur du widget sirius
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ST0R committed Sep 24, 2024
1 parent b3f60f5 commit 02444fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ cli
runScript(async () => {
const importBCNStats = await runJobs(BCNJobs, job);
const importRomeStats = await runJobs(romeJobs, job);
const importRCOStats = await runJobs(RCOJobs, job);
const importOnisepStats = await runJobs(onisepJobs, job);
const importEtablissementsStats = await runJobs(etablissementJobs, job);
const importCatalogueApprentissageStats = await runJobs(catalogueApprentissageJobs, job);
const importFormationEtablissementStats = await runJobs(formationEtablissementJobs, job);
const importRCOStats = await runJobs(RCOJobs, job);

return {
importBCNStats,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function WidgetSiriusEtablissement({
const API_URL = process.env.NEXT_PUBLIC_SIRIUS_API_BASE_URL || "https://sirius.inserjeunes.beta.gouv.fr";

const ref = useRef<HTMLDivElement>(null);
const widgetCode = `<iframe style="width: 100%;" src="${API_URL}/iframes/etablissement?uai=${etablissement.uai}"
const widgetCode = `<iframe style="width: 100%; height: 0px;" src="${API_URL}/iframes/etablissement?uai=${etablissement.uai}"
scrolling="no" frameBorder="0"></iframe>`;

useEffect(() => {
Expand Down

0 comments on commit 02444fb

Please sign in to comment.