bootstrap/site
Patrick H. Lauke d5f4532b3e
Docs: fix overflow:auto horizontal scrollbars covering last line of code blocks (#37694)
* Add dirty hack for Firefox

* Disable stylelint check for function-url-quotes

to make the hack go through unchallenged

* Make the fix across all browsers

It's not just Firefox - same issue can be seen (though slightly less horrible looking) on macOS / Chrome etc

* Tweak padding, move clipboard button down slightly

* Further CSS tweaks

Forcing `overflow: overlay` should normalise behaviour between Chrome/Win and other implementations. While visually the Chrome/Win scrollbar still looks big and ugly, its height/spacing is now taken into account as being part of the content, so styles can be applied consistently with extra padding at the bottom

* Linting fixes

* Linting fixes

* Apply suggestions from code review

---------

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2023-03-04 12:05:54 -08:00
..
assets Docs: fix overflow:auto horizontal scrollbars covering last line of code blocks (#37694) 2023-03-04 12:05:54 -08:00
content Fixed some grammar issues 2023-03-04 11:50:05 -08:00
data WIP: New snippet examples (#36309) 2023-02-14 20:58:39 -08:00
layouts Examples: color mode enhancement (#38144) 2023-03-04 11:49:07 -08:00
static Fix console error in examples pages du to no theme switcher (#38074) 2023-02-17 08:56:30 +02:00
.eslintrc.json Update site/.eslintrc.json (#37485) 2022-11-12 10:46:37 +02:00