cesium / calendarium

📆 Calendar with special events, due dates and week schedule
https://calendario.cesium.di.uminho.pt/
11 stars 2 forks source link

feat: dynamic modal width #154

Closed diogogmatos closed 1 year ago

diogogmatos commented 1 year ago

Made it so the EventModal and ShiftModal have a dynamic width, instead of a fixed one. The modal will have a minimum width of 18rem (same as previously) and only expand to a w-fit if it's needed. This is particularly useful on EventModal, since it can house a link with unpredictable size. A great example is the current Code Week event, where the link is wrapping down because of the fixed width.

netlify[bot] commented 1 year ago

Deploy Preview for cesium-calendarium ready!

Name Link
Latest commit 0e2000a807dc0c359d4af614d7a158090bff054c
Latest deploy log https://app.netlify.com/sites/cesium-calendarium/deploys/652aba5d9892c8000878c1ed
Deploy Preview https://deploy-preview-154--cesium-calendarium.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.