npm install -g asar
asar
in cmdasar is not recognized
in outputCustomization Remove.py
Customization Patcher.py
Telegram :
Discord :
Feel free to text me with questions/ideas/code improvements/bugs/requests
I mean, really, don't think that you will disturb me with your messages:)
Details : https://github.com/dragonwocky/notion-enhancer
Discord : dragonwocky#8449 Twitter : https://twitter.com/dragonwocky e-mail : [email protected]
Upd. June 13th 2020 v.4.2 (spaces in path fix, thx to Lucia)
(Default) - Enabled by default (Optional) - Can be enabled with some actions. (v1) - In which version of script was implemented current feature
Additional styles which is not included in scripts
Удалены рамки стандартного окна виндоус
Изменен стиль скроллбаров
Новые кнопки управления окном. "Стрелочка вниз" закрепляет окно поверх всех окон
Before (Dark Theme)
Before(Light Theme)
After (Dark Theme)
After (Light Theme)
(Default) New "Always On Top" button. Disabled by default(downwards arrow) When enabled(upwards arrow) Notion will be shown above all other windows.
(Optional) You're free to customize icons for this buttons
You can find icons Here (Use search). Select icon, and copy only one line(doesn't matter which one) from "HTML Entity"
Open main.user.js. Use comments like /* Close Button */
to locate code block for button that you want to change.
Inside this block of code, find element.innerHTML = "iconCode"
and replace "iconCode" with your code from HTML Entity. You should put your code inside the quotation marks.
Run Customization Patcher.py
to apply changes and reload Notion (Ctrl + R )
Different style of buttons here
Изменен большой отступ слева у таблиц
To disable "wider table":
/* Changing table padding to make it more wider */
/* Changing table padding to make it more wider */
[style^="flex-shrink: 0; flex-grow: 1; width: 100%; max-width: 100%; display: flex; align-items: center; flex-direction: column; font-size: 16px; color: rgba(255, 255, 255, 0.9); padding: 0px 96px 30vh;"] .notion-table-view {
padding-left: 35px !important;
padding-right: 15px !important;
min-width: 0% !important;
}
/* Changing the width of horizontal scroller, because of wider table */
[style^="flex-shrink: 0; flex-grow: 1; width: 100%; max-width: 100%; display: flex; align-items: center; flex-direction: column; font-size: 16px; color: rgba(255, 255, 255, 0.9); padding: 0px 96px 30vh;"] .notion-selectable .notion-scroller.horizontal::-webkit-scrollbar-track {
margin-left: 10px;
margin-right: 10px;
}
UPD. As you can see, now css selector much longer. It's fix for "wider table in not full width page" bug
Изменены размеры иконок заголовке таблицы
To disable it, find this comment /* Changing table header icons to make it smaller */
at the end of the custom_style.css
and remove code block below
If you want to change size, you should change both width and height properties to see changes.
I recorded a video to show you an example of how to do it. You can find it Here📽️