src="https://update.vivaldi.com/stats/piwik.php?idsite=1&rec=1&bots=1" style="border:0;" alt=""

Tips for updating this script for spacing in panels



  • Don't hook this script in 1.8 as it won't work correctly
    On 1.7 stable (is obsolete also in some latest 1.7 dev) was fine.
    It's based on some posts seen here, and some personal edit/tests (look at the ugly comments lines lol), taken from 1.7 common.css probably.
    Any suggestion is welcome :)
    Some of these string are probably useless or deprecated now ;)
    (Sorry, I put in wrong section, I already asked for moving it)

    /* Reduce vertical spacing (recoded) */
    .vivaldi-tree .tree-row label {
    	flex: 1 1 0;
    	display: flex;
    	padding: 0px 6px 0px 0px !important;
    	line-height:15px;
    	min-height:15px;
    	/*align-items:center*/
    }
    
    /* Reduce gap between bookmarks and its folder */
    .vivaldi-tree .tree-row.folder .folder-item-count,.vivaldi-tree .tree-row.trash .folder-item-count { 
        /* color:var(--colorBg); */
        /* background-color:var(--colorFg); */
        flex:0 0 auto;
        border:1px solid transparent;
        height:auto;
        line-height:1.2;
        /* padding:0 4px; */
        /* border-radius:3px; */
        font-size: 11px;
        font-weight: 400;
        margin: 0px 0 2px auto;
        /* overflow:visible; */
        /* opacity:.5 */
    }
    
    /* Remove folder > */
    .vivaldi-tree .tree-row .expand-icon svg {
    	display:none;
    }
    
    /* Reduced padding */
    .panel#downloads li {
        padding: 1px 0px 0px 10px;
        min-height: 10px; /*wa*/
    }
    
    .panel#downloads ul, .panel .vivaldi-tree {
    	margin-left: -20px;
    }
    
    /* Solid border on buttons */
    .toolbar.icons button, .toolbar.text button {
    	border-color: var(--colorBorder);
    }	
    	
    /* Fix for missing download panel? */	
    .toolbar.icons>span {
        display:inline-flex;
    }	
    

Log in to reply
 

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