Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Adjust Breakpoints for about/coc Page and Discuss lg Configuration Change #573

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

foxlee2525
Copy link
Contributor

Types of changes

  • Refactoring

Description

在調整 about/coc 頁面的兩欄佈局斷點時,發現與專案中定義的 lg 斷點設定不一致,因此進行了調整,以符合網頁 RWD 標準。

Discussion Needed

建議將 TailwindCSS config 的 lg 斷點從 1194px 修改為 1024px,以更符合常見的 RWD 標準。
因為變動可能會影響到專案其他部分,因此希望先進行討論,再確認是否需要進行修改。

Next Steps

根據討論結果,確認是否需要將 TailwindCSS 配置中的 lg 斷點從 1194px 修改為 1024px。

Fixed the issue where the grid layout did not activate at the intended screen size.
Copy link

netlify bot commented Aug 20, 2024

👷 Deploy request for classy-granita-bc2b5a pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit d558806

Copy link

netlify bot commented Aug 20, 2024

Deploy Preview for zesty-gnome-f04144 ready!

Name Link
🔨 Latest commit d558806
🔍 Latest deploy log https://app.netlify.com/sites/zesty-gnome-f04144/deploys/66cc47239d884c0008caac75
😎 Deploy Preview https://deploy-preview-573--zesty-gnome-f04144.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.

@SivanYeh
Copy link
Collaborator

SivanYeh commented Aug 26, 2024

@foxlee2525 如果把tailwind.config.js lg改成1024會如何?

…odify affected pages

- Refactored Tailwind `lg` breakpoint from 1024px to 1194px in tailwind.config.js.
- Updated affected pages and media queries to align with the new breakpoint and ensure consistent grid behavior.
@foxlee2525
Copy link
Contributor Author

foxlee2525 commented Aug 26, 2024

@foxlee2525 如果把tailwind.config.js lg改成1024會如何?

測試已知 「overview」 跟 「poster-session」兩個頁面的佈局受影響最大,所以相關頁面有做調整。
另外原本 「overview」在 screen: 768px 時,因為佈局改變,所以相關議程卡片會被擠壓成兩行很小的卡片,我覺得這樣好像也不太合理,也一拼調整了。

其他佈局目前看起來沒什麼問題,但可能還是要麻煩各位大大幫忙檢查一下,感謝!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants