This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git

commit 42433b11dab456dd32662019761b018c94112c8b
Author: Paddy <p.with...@gmail.com>
AuthorDate: Sun Dec 9 12:48:01 2018 -0700

    Reduce iframe width to increase usability
    
    Issue: The ribbon still overlaps the iframe scrollbar on the api.html
    page.
    
    This is relatively unavoidable due to the nature of loading a page
    within a page.
    
    Solution: The best solution seems to be to reduce the width of the
    iframe.
    
    Pros:
     - Scrollbar is fully accessible
     - It is clear that the documentation is being loaded in an iframe
     - The distinction between body and iframe scrollbars is clear
    Cons:
     - The width of the documentation is reduced
---
 site/src/site/assets/css/style.css | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/site/src/site/assets/css/style.css 
b/site/src/site/assets/css/style.css
index c1fb3c2..aa1cf49 100644
--- a/site/src/site/assets/css/style.css
+++ b/site/src/site/assets/css/style.css
@@ -216,6 +216,8 @@ article .content time {
 
 .doc-embed {
     border: 0;
+    border-right: 1px solid #e7e7e7;
+    width: 87%;
     height: 100vh;
     min-height: 100%;
 }

Reply via email to