Bookmarks panel width



  • asked before and got some help and code

    potmeklecbohdan 4 days ago
    @adacom said:

    but i cannot see how to reduce the width of the bookmarks bar - there seems to be a max and min width setting but [for me] they do nothing

    Paste this into devtools console and change the width to what you want, then press enter (I added 34 because the width includes switch width)

    chrome.storage.local.get('REG_PANEL_LIST', function (pl) {
    let lst = pl.REG_PANEL_LIST;
    lst.forEach(function(panel) {
    if (panel.id === "bookmarks")
    panel.width = 34 + 50;
    });
    chrome.storage.local.set({REG_PANEL_LIST: lst});
    })

    thats works but is not permanent in tha if the panel is resized in any way it revers to default so the mod is lost - does anyone have an idea or thoughts how it could be achieved by a css mod

    or is there a way to embed that code so its permanent



  • From the thread: https://forum.vivaldi.net/topic/10549/modding-vivaldi

    In the Adding Functionality section about using custom.js to add custom js.

    I could be wrong, as i haven't played with it before, but that looks to be what you want...



  • @7twenty said in Bookmarks panel width:

    From the thread: https://forum.vivaldi.net/topic/10549/modding-vivaldi

    In the Adding Functionality section about using custom.js to add custom js.

    I could be wrong, as i haven't played with it before, but that looks to be what you want...

    brilliant - well it looks it at first run - that looks to be the answer - thanks


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.