+
diff --git a/src/components/UtgMethods.js b/src/components/UtgMethods.js
index c5ac9d543..0895b070a 100644
--- a/src/components/UtgMethods.js
+++ b/src/components/UtgMethods.js
@@ -13,7 +13,7 @@ function UTGMethods() {
integration to one-click IDE generation:
-
+
:last-child {
+ padding-right: 0;
+ }
+
+ /* Fix sidebar width on mobile */
+ .docs-wrapper aside {
+ width: 100% !important;
+ }
+
+ /* Ensure images are responsive */
+ img {
+ max-width: 100%;
+ height: auto;
+ }
+ /* Fix table overflow on mobile */
+ table {
+ display: block;
+ overflow-x: auto;
+ white-space: nowrap;
+ }
+
+ /* Improve code block readability on mobile */
+ pre {
+ font-size: 0.85rem;
+ overflow-x: auto;
+ }
+
+ /* Fix pagination on mobile */
+ .pagination-nav {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ .pagination-nav__item {
+ width: 100%;
+ }
+
+ /* Ensure cards stack properly on mobile */
+ .card {
+ margin-bottom: 1rem;
+ }
+
+ /* Fix button sizing on mobile */
+ .button {
+ padding: 0.5rem 1rem;
+ font-size: 0.9rem;
+ }
+
+ /* Improve footer spacing on mobile */
+ footer {
+ padding: 1rem;
+ }
+
+ .footer__links {
+ flex-direction: column;
+ align-items: flex-start;
+ }
+
+ /* Fix search button on mobile */
+ .DocSearch-Button {
+ padding: 0.5rem !important;
+ font-size: 0.9rem !important;
+ }
+
+ /* Improve TOC on mobile */
+ .table-of-contents {
+ padding-top: 1rem;
+ font-size: 0.9rem;
+ }
+
+ /* Fix announcement bar on mobile */
+ div[class^="announcementBar_"] {
+ font-size: 0.85rem;
+ padding: 0.5rem;
+ }
+
+ /* Ensure prose content is readable on mobile */
+ .prose {
+ font-size: 1rem;
+ }
+
+ .prose p {
+ margin-bottom: 1rem;
+ }
+
+ /* Fix community links spacing on mobile */
+ section ul {
+ padding-left: 0;
+ }
+
+ section li {
+ margin-bottom: 1rem;
+ }
+}
+
+/* Tablet-specific adjustments */
+@media screen and (min-width: 769px) and (max-width: 996px) {
+ :root {
+ font-size: 17px;
+ }
+
+ .navbar__inner {
+ padding: 0.75rem 2rem;
+ }
+
+ main {
+ padding: 1.5rem !important;
+ }
+
+ h1 {
+ font-size: 2rem;
+ }
+
+ h2 {
+ font-size: 1.75rem;
+ }
+}
+
+/* Small mobile devices */
+@media screen and (max-width: 480px) {
+ :root {
+ font-size: 14px;
+ }
+
+ h1 {
+ font-size: 1.5rem !important;
+ }
+
+ h2 {
+ font-size: 1.25rem !important;
+ }
+
+ h3 {
+ font-size: 1.1rem !important;
+ }
+
+ /* Tighter spacing for small screens */
+ main {
+ padding: 0.75rem !important;
+ }
+
+ .navbar__inner {
+ padding: 0.5rem !important;
+ }
+
+ /* Smaller buttons on small screens */
+ .button {
+ padding: 0.4rem 0.8rem;
+ font-size: 0.85rem;
+ }
+
+ /* Adjust card padding on small screens */
+ .card,
+ div[class*="rounded-lg"] {
+ padding: 0.75rem !important;
+ }
+
+ /* Fix icon sizing on small screens */
+ svg {
+ max-width: 100%;
+ height: auto;
+ }
+}
diff --git a/src/pages/styles.module.css b/src/pages/styles.module.css
index bae51321e..87a0c0154 100644
--- a/src/pages/styles.module.css
+++ b/src/pages/styles.module.css
@@ -133,6 +133,73 @@
.securityPageHeaders {
text-align: left;
}
+
+ /* Improve text feature layout on mobile */
+ .textFeature {
+ margin: 10px auto;
+ padding: 0 1rem;
+ }
+
+ /* Fix form on mobile */
+ .formFeature {
+ margin: 30px auto;
+ max-width: 100%;
+ padding: 0 1rem;
+ }
+
+ /* Ensure buttons stack properly on mobile */
+ .buttons {
+ flex-direction: column;
+ gap: 1rem;
+ }
+
+ /* Fix features section on mobile */
+ .features {
+ padding: 1rem 0;
+ }
+
+ .featureImageContainer {
+ height: 5rem;
+ width: 5rem;
+ }
+}
+
+/* Additional mobile styles for smaller screens */
+@media screen and (max-width: 768px) {
+ .heroBanner {
+ padding: 1.5rem 1rem;
+ }
+
+ .videoContainer {
+ margin: 10px auto;
+ padding: 0 1rem;
+ max-width: 100%;
+ }
+
+ .announcement {
+ font-size: 18px;
+ padding: 24px 16px;
+ }
+
+ .justifyCenter {
+ padding: 0 1rem;
+ }
+}
+
+@media screen and (max-width: 480px) {
+ .heroBanner {
+ padding: 1rem 0.5rem;
+ }
+
+ .announcement {
+ font-size: 16px;
+ padding: 16px 12px;
+ }
+
+ .featureImageContainer {
+ height: 4rem;
+ width: 4rem;
+ }
}
.viewCompleteLibraryLink {