samredai commented on pull request #3422:
URL: https://github.com/apache/iceberg/pull/3422#issuecomment-962394057


   GitHub injects some overflow css to add the scroll bar, if we switch to 
markdown tables we'd have to add that as well. Here's how the table currently 
would look:
   <img width="1781" alt="Screen Shot 2021-11-05 at 9 22 44 PM" 
src="https://user-images.githubusercontent.com/43911210/140597755-5ca6eecc-8c89-4289-94fe-aba0baf7a231.png";>
   
   But adding the following:
   ### extra.css
   ```css
   .markdown-table-container {
     width: 780px;
     overflow-x: scroll;
   }
   ```
   and then surrounding your markdown table with:
   ```html
   <div class="markdown-table-container" markdown="block">
   ...markdown table here...
   </div>
   ```
   will make it look like this with the scrollbar:
   <img width="1781" alt="Screen Shot 2021-11-05 at 9 44 05 PM" 
src="https://user-images.githubusercontent.com/43911210/140598189-38f0f601-061e-4b81-87c8-11bf03a7e1a7.png";>
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to