Skip to content

Improve web viewer by removing scrollbar on each RFC pages (overflow) #5719

Description

@jmaselbas

Description

Reading RFCs with the html viewer at https://datatracker.ietf.org/doc/html/rfc2119 is not very comfortable because of spurious scrollbars for each individual pages, this brakes scrolling.

This can be "easily" fixed by removing the overflow:auto css property of pre elements:

 pre {
   margin-top: 0;
   margin-bottom: 1rem;
   font-size: .875em;
   display: block;
-  overflow: auto;
 }

which is defined in "_reboot.css" which I believe comes from bootstrap/scss/reboot
which is included by document_html.scss which in included by document_html_referenced.scss...

I don't know how to fix this properly, as I am not familiar with all of this web complexity.

...

This could also be fixed by:

 .rfcmarkup pre {
   width: 80ch;
   white-space: pre-wrap;
+  overflow: unset;
 }

in document_html_referenced.scss

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions