From 03acfb51e4c517689d1bd2e3797ac54ccbd237d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Wed, 11 May 2022 14:02:38 +0100 Subject: [PATCH] Round corners of avatar without picture --- customize.dist/src/less2/include/toolbar.less | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index a00ba1a74..ee88e5ba3 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -843,21 +843,10 @@ } .cp-toolbar-user-dropdown { z-index: 10000; //Z cp-toolbar-user-dropdown - //margin-left: 20px; - height: @toolbar_top-height; - width: @toolbar_top-height; - padding: 0px; + padding: 5px; box-sizing: border-box; text-align: center; -/* - background-color: rgba(0,0,0,0.3); - transition: all 0.15s; - &:hover { - background-color: rgba(0,0,0,0.4); - } - */ - .cp-dropdown-content { margin: 0; padding-bottom: 10px; @@ -866,8 +855,9 @@ display: flex; justify-content: center; align-items: center; - height: @toolbar_top-height; - width: @toolbar_top-height; + height: @toolbar_top-height - 10px; + width: @toolbar_top-height - 10px; + border-radius: @variables_radius; padding: 0; &:hover { border-color: transparent;