jyotiattri commented on a change in pull request #200: fixed issue for content 
wider than screen for pages
URL: https://github.com/apache/camel-website/pull/200#discussion_r397055484
 
 

 ##########
 File path: antora-ui-camel/src/css/doc.css
 ##########
 @@ -634,3 +636,22 @@ kbd,
 .stretch {
   width: 100%;
 }
+
+/* for mobile screens */
+@media screen and (max-width: 626px) {
+  #preamble + .sect1,
+  .doc .sect1 + .sect1 {
+    overflow-wrap: break-word;
+  }
+}
+
+@media screen and (max-width: 1023px) and (min-width: 480px) {
+  .doc > h1.page:first-child,
+  .static > h1:first-child {
+    font-size: inherit;
+  }
+
+  .doc h2:not(.discrete) {
+    overflow-wrap: break-word;
+  }
+}
 
 Review comment:
   In this, we have a different font size so I use this media query for some 
targeted areas font size.
   I made changes in this and sent it again.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to