Skip to content

Commit

Permalink
style correcting + loadig images in buildsh
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent Mariotti committed Dec 20, 2024
1 parent 8740c25 commit 60dd37d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ mkdir -p ./src/main/resources/public/img
mv ./src/main/resources/*.html ./src/main/resources/view
cp -R ./src/main/resources/notify ./src/main/resources/view/notify

cp -R ../frontend/public/img/* ./src/main/resources/public/img
echo 'Images copied !'

# Copy angular dist @TODO MUST DELETE THIS INSTRUCTION WHEN IN PRODUCTION
cp -R ./src/main/resources/angular-dist/* ./src/main/resources/public
mv ./src/main/resources/public/view/magneto.html ./src/main/resources/view
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/components/modal-explorer/ModalExplorer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@
.mag-modal-explorer-image {
max-width: 580px;
max-height: 250px;
padding-bottom: 2rem;
}
#onboarding-modal-magneto .modal-body {
margin-block: 0 !important;

.swiper.swiper-horizontal {
padding-bottom: 1.5rem !important;
}
}
2 changes: 1 addition & 1 deletion frontend/src/components/modal-explorer/ModalExplorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const ModalExplorer: React.FC = () => {
return isOnboarding
? createPortal(
<Modal
id="onboarding-modal"
id="onboarding-modal-magneto"
size="md"
isOpen={isOpen}
focusId="nextButtonId"
Expand Down

0 comments on commit 60dd37d

Please sign in to comment.