1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-12 09:00:54 +00:00

Merge pull request #953 from ipiv/fix/hide-unfollow-button-margin-bug

[Fix] hide-unfollow extra styling
This commit is contained in:
Mike 2020-12-04 14:23:52 -05:00 committed by GitHub
commit ac0bd78db8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -369,7 +369,7 @@ export default class CSSTweaks extends Module {
title: 'Hide the Unfollow button.', title: 'Hide the Unfollow button.',
component: 'setting-check-box' component: 'setting-check-box'
}, },
changed: val => this.toggleHide('unfollow', val) changed: val => this.toggle('hide-unfollow-button', val)
}); });
this.settings.add('channel.hide-live-indicator', { this.settings.add('channel.hide-live-indicator', {
@ -422,7 +422,7 @@ export default class CSSTweaks extends Module {
this.toggleHide('side-offline-channels', this.settings.get('layout.side-nav.hide-offline')); this.toggleHide('side-offline-channels', this.settings.get('layout.side-nav.hide-offline'));
this.toggleHide('prime-offers', !this.settings.get('layout.prime-offers')); this.toggleHide('prime-offers', !this.settings.get('layout.prime-offers'));
this.toggleHide('top-discover', !this.settings.get('layout.discover')); this.toggleHide('top-discover', !this.settings.get('layout.discover'));
this.toggleHide('unfollow', this.settings.get('channel.hide-unfollow')); this.toggle('hide-unfollow-button', this.settings.get('channel.hide-unfollow'));
this.toggle('square-avatars', ! this.settings.get('channel.round-avatars')); this.toggle('square-avatars', ! this.settings.get('channel.round-avatars'));
//this.toggleHide('not-live-bar', this.settings.get('channel.hide-not-live-bar')); //this.toggleHide('not-live-bar', this.settings.get('channel.hide-not-live-bar'));

View file

@ -0,0 +1,7 @@
.metadata-layout__secondary-button-spacing {
margin-right: 0 !important;
}
.follow-btn__follow-btn--following,.follow-btn--following {
display: none !important;
}