npgsql / doc

Documentation site for npgsql
http://npgsql.org/
26 stars 74 forks source link

I have an optimization suggestion regarding the Npgsql website. #341

Closed kyssion closed 4 months ago

kyssion commented 4 months ago

Hello, there is a minor optimization suggestion for the Npgsql website. When I was reviewing the API documentation, I noticed that when there is too much content, the table of contents on the right side might be obscured, resulting in incomplete content visibility.This is a simple CSS styling issue. You can resolve it by modifying the style of the following div element.

"The web address that can be optimized is this one: https://www.npgsql.org/doc/api/Npgsql.NpgsqlConnection.html#methods"

Screenshot_20240501_061525

Simply add the style 'overflow:auto' to the div tag with the class name 'sideaffix'.

The final result will be like this:

Screenshot_20240501_062020

I didn't find any other way to submit issues about web page modifications, so I submitted it here.

roji commented 4 months ago

@kyssion we generally don't tweak the CSS - that's coming from the template provided by the tool we use to generate the docs, which is docfx. I recommend submitting a PR to that project, fixing this problem for everyone (not just for Npgsql).