Skip to content

Commit 8a92d05

Browse files
authored
Fix: Remove unnecessary vertical scrollbar (Resolves #2686) (#2700)
* Fix: Remove vertical scrollbar from zoomed out views of resource embed page * Fix: Add missing backticks in CONTRIBUTING.md codeblock
1 parent 36bd517 commit 8a92d05

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,10 @@ language.
254254
On Linux distros based on Debian and Ubuntu, you may need to install
255255
the following packages to build PDFs:
256256

257-
``console
257+
```console
258258
sudo apt install latexmk
259259
sudo apt install texlive-latex-extra
260-
``
260+
```
261261
To reduce the large (300 MB+) install size of the second package, you
262262
may be able to use the `--no-install-recommends` flag.
263263

doc/_static/css/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ table.resource-table td > .resource-thumb.file-icon {
293293
/* Not clear why this doesn't work for the .caption-text */
294294
font-size: 1em !important;
295295
}
296+
.resource-handle > .literal {
297+
/* Removes the verticle scroll when you zoom out more than 100% */
298+
overflow-y: hidden;
299+
}
296300

297301

298302
/* Imitate sphinx-copybutton style */

0 commit comments

Comments
 (0)