<!-- version: 0.6.0 -->
<!-- tag: layout, profile, design -->
<!-- excerpt: Making the best out of screen real estate on Stack Exchange -->

## Screenshot / Code Snippet

Profile page gap removal:

<img src="https://i.sstatic.net/cBLCy.png" width="300" alt="profile page with the gap (before)" />
<img src="https://i.sstatic.net/LpAu3.png" width="300" alt="profile page without the gap (after)" />

Profile page width restriction removal:

<img src="https://i.sstatic.net/uHpG4.png" width="600" alt="profile page full width" />

Activity tab making better use of screen space:

<img src="https://i.sstatic.net/HByhc.png" width="600" alt="activity tab full width" />

## About

The recent [change to the profile page][1] layout in the name of "responsiveness" fails to properly use the screen real estate. Instead of waiting 6 to 8 weeks or the heat death of the universe*, you can use this simple userscript to make things right today. 

The userscript is a living project, so more features will be added as we go. Please note that this script does not bring back removed stats, do check out https://stackapps.com/q/9074/78873 if you want them back too.

### License

The script is licensed under the [GPL-3.0-or-later][2] license.

### Download

[Install][3] | [Minified][4]

The script *doesn't need* a userscript manager to work (but includes necessary headers).

### Platform

Version number means "last tested on":

| Chrome | Opera | Firefox | Edge | IE |
| - | - | - | - | - |
| ✔ 92.0.4515.107 | ✔ 77.0.4054.203 | ✔ 89.0 | ✔ 92.0.902.55 | no |

Userscript managers:

| Greasemonkey | Tampermonkey | Violentmonkey |
| - | - | - |
| ✔ 4.11 | ✔ 31 | ✔ 2.13.0** |

## Change log

| Version | Description |
| - | - |
| 0.3.0 | improved robustness of the logic moving stats elements |
| 0.4.0 | allowed profile page to span the full width of available viewport |
| 0.5.0 | adjusted page headers to match the full-width layout |
| 0.6.0 | made activity tab make better use of screen space |

## Contact

Author: [Oleg Valter][5]
<br>Organization: [UserScripters][6]

Please, submit bug reports [on the source repository](https://github.com/userscripters/bring-back-layout).
<br>Before adding a new one, please check if it hasn't been raised before.

You can also [drop by to chat][7], we are a friendly bunch.

## Code

[Source code][8] written in TypeScript. 

Contributions are welcome, you can always [submit a PR here][9].

---

\* credit goes to [Scratte][10]<br>
\*\* thanks to [Kevin M. Mansour][11] for testing this out


  [1]: https://meta.stackexchange.com/q/368285/786798
  [2]: https://spdx.org/licenses/GPL-3.0-or-later
  [3]: https://github.com/userscripters/bring-back-layout/raw/master/dist/index.user.js
  [4]: https://github.com/userscripters/bring-back-layout/raw/master/dist/index.min.user.js
  [5]: https://stackoverflow.com/users/11407695/oleg-valter
  [6]: https://github.com/userscripters
  [7]: https://chat.stackoverflow.com/rooms/214345/userscript-newbies-and-friends
  [8]: https://github.com/userscripters/bring-back-layout/blob/master/src/index.ts
  [9]: https://github.com/userscripters/bring-back-layout/pulls
  [10]: https://chat.stackoverflow.com/transcript/214345?m=52761915#52761915
  [11]: https://stackoverflow.com/users/14945696/