o1-mini-2024-09-12· OpenAI
WildChat-4.8M (AI2)
یک مشکلی داره این صفحه درست اسکرول نمیشه کاری کن راحت اسکرول بشه بدون اینکه مخفی سازی…
- User
یک مشکلی داره این صفحه درست اسکرول نمیشه کاری کن راحت اسکرول بشه بدون اینکه مخفی سازی بالا و پایین از بین بره
code.iframe-container { position: relative; width: 100%; height: 100vh; overflow: hidden; } iframe { width: 100%; height: calc(100% + 2646px); /* اضافه کردن 70 سانتیمتر به پایین (≈2646px) */ border: none; display: none; position: relative; top: -151px; /* مخفی کردن 4 سانتیمتر از بالا (≈-151px) */ } .loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; z-index: 10000; } .loading-message { margin-bottom: 20px; font-size: 18px; } .progress { width: 80%; max-width: 400px; height: 20px; background-color: #ddd; border-radius: 5px; overflow: hidden; } .progress-bar { height: 100%; width: 0; background-color: #4caf50; transition: width 1s; } .error-message { display: none; color: red; margin-top: 20px; font-size: 16px; text-align: center; } #retryButton { display: none; margin-top: 10px; padding: 10px 20px; font-size: 16px; cursor: pointer; background-color: #4caf50; color: white; border: none; border-radius: 5px; } </style>code - Assistant