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

## Screenshot / Code Snippet

Profile page gap removal (before and after):

<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" />

Top bar menu stretching the full width of the viewport (before and after):

<img src="https://i.sstatic.net/kAVVq.png" width="600" alt="top menu full width" />
<img src="https://i.sstatic.net/VWTFi.png" width="600" alt="top menu without the userscript" />

## About

The recent [change to the profile page][3] 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][4] license.

### Download

[Install][5] | [Minified][6]

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 |
| 0.7.0 | made top bar stretch the whole available length |

## Contact

Author: [Oleg Valter][7]
<br>Organization: [UserScripters][8]

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][9], we are a friendly bunch.

## Code

[Source code][10] written in TypeScript. 

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

---

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

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