mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-17 21:15:47 +02:00
Move code.js notification setup and fix dropdown border radius
This commit is contained in:
parent
973ae8cb5d
commit
8d67f3dfdc
@ -232,6 +232,9 @@
|
|||||||
|
|
||||||
onAppReady.push(function(){
|
onAppReady.push(function(){
|
||||||
document.documentElement.setAttribute("data-td-theme", TD.settings.getTheme());
|
document.documentElement.setAttribute("data-td-theme", TD.settings.getTheme());
|
||||||
|
|
||||||
|
$TD.loadFontSizeClass(TD.settings.getFontSize());
|
||||||
|
$TD.loadNotificationHeadContents(getNotificationHeadContents());
|
||||||
});
|
});
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -699,7 +702,8 @@
|
|||||||
addRule(".column-nav-link .attribution { position: absolute; }"); // fix cut off account names
|
addRule(".column-nav-link .attribution { position: absolute; }"); // fix cut off account names
|
||||||
addRule(".txt-base-smallest .sprite-verified-mini { width: 13px !important; height: 13px !important; background-position: -223px -99px !important; }"); // fix cut off badge icon when zoomed in
|
addRule(".txt-base-smallest .sprite-verified-mini { width: 13px !important; height: 13px !important; background-position: -223px -99px !important; }"); // fix cut off badge icon when zoomed in
|
||||||
|
|
||||||
addRule(".btn, .mdl, .mdl-content, .app-search-fake, .app-search-input, .popover, .dropdown-menu, .lst-modal, .media-item { border-radius: 1px !important }"); // square-ify buttons, inputs, dialogs, menus, and media previews
|
addRule(".btn, .mdl, .mdl-content, .app-search-fake, .app-search-input, .popover, .lst-modal, .media-item { border-radius: 1px !important }"); // square-ify buttons, inputs, dialogs, menus, and media previews
|
||||||
|
addRule(".dropdown-menu, .list-item-last { border-radius: 0 !important }"); // square-ify dropdowns
|
||||||
addRule(".prf-header { border-radius: 0 }"); // fix user account header border
|
addRule(".prf-header { border-radius: 0 }"); // fix user account header border
|
||||||
|
|
||||||
addRule(".is-condensed .app-header-inner { padding-top: 10px !important; }"); // add extra padding to menu buttons when condensed
|
addRule(".is-condensed .app-header-inner { padding-top: 10px !important; }"); // add extra padding to menu buttons when condensed
|
||||||
@ -891,9 +895,6 @@
|
|||||||
onAppReady.forEach(func => func());
|
onAppReady.forEach(func => func());
|
||||||
onAppReady = null;
|
onAppReady = null;
|
||||||
|
|
||||||
$TD.loadFontSizeClass(TD.settings.getFontSize());
|
|
||||||
$TD.loadNotificationHeadContents(getNotificationHeadContents());
|
|
||||||
|
|
||||||
if (window.TD_PLUGINS){
|
if (window.TD_PLUGINS){
|
||||||
window.TD_PLUGINS.onReady();
|
window.TD_PLUGINS.onReady();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user