Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tweaks] Don't run old sidebar width on /following #1731

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Extensions/tweaks.js
@@ -1,5 +1,5 @@
//* TITLE Tweaks **//
//* VERSION 5.7.4 **/
//* VERSION 5.7.5 **/
//* DESCRIPTION Various little tweaks for your dashboard. **//
//* DEVELOPER new-xkit **//
//* DETAILS These are small little tweaks that allows you customize your dashboard. If you have used XKit 6, you will notice that some of the extensions have been moved here as options you can toggle. Keep in mind that some of the tweaks (the ones marked with a '*') can slow down your computer. **//
Expand Down Expand Up @@ -411,7 +411,7 @@ XKit.extensions.tweaks = new Object({
"tweaks_slim_activity_feed");
}

if (XKit.extensions.tweaks.preferences.old_sidebar_width.value) {
if (XKit.extensions.tweaks.preferences.old_sidebar_width.value && !XKit.interface.where().following) {
XKit.tools.add_css(".right_column, .toastr .toast-kit, .small_links {width: 250px !important;} " +
".left_column{margin-left:75px;} #sidebar_footer_nav{margin-left: -420px !important;} .pagination{padding-left:160px;}",
"tweaks_old_sidebar_width");
Expand Down