.copy-tooltip { position: absolute; top: -25px; left: 0; background: #333; color: #fff; padding: 5px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .copy-tooltip.visible { opacity: 1; } #share-dropdown img { width: 20px; height: 20px; }
This website is better experienced in landscape mode.
This site is best experienced in landscape.

Fixing tables extending offscreen

Got a table with columns extending beyond the margin offscreen? It’s a bit annoying. Typically this can happen when adding or pasting a new column onto a table that’s likely had it’s column widths altered previously. It might look something like this:

Table extending offscreen example

There is a quick tool we can use to bring it back in line.

First, select the whole table (hover over table and click the little box top left corner):

Table extending offscreen example selected

Then under Table Layout > Autofit select AutoFit Window:

Autofit window

This autofits the whole table to fit the page again.

Table autofit to window

It may need some cleaning up in terms of column width; Distribute Columns under Table Layout is a good tool for dealing with this as it makes all of your table’s column widths equal:

Distribute Column Table with columns evenly distributed
Tooltip GIF