mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix hover logo not showing for drive & apps
This commit is contained in:
parent
90b5c41a39
commit
4aa260e9c3
@ -838,11 +838,16 @@
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
text-decoration: none;
|
||||
position: absolute;
|
||||
height: auto;
|
||||
padding: 10px;
|
||||
color: @toolbar-bg-color;
|
||||
color: var(--toolbar-bg-color);
|
||||
border-radius: @variables_radius;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
padding: 0;
|
||||
line-height: 0;
|
||||
svg {
|
||||
height: 3rem;
|
||||
width: 3rem;
|
||||
@ -865,6 +870,9 @@
|
||||
// width: 100%;
|
||||
// }
|
||||
}
|
||||
a.cp-toolbar-link-logo > svg:nth-of-type(2){ display: none; }
|
||||
a.cp-toolbar-link-logo:hover > svg:nth-of-type(1){ display: none; }
|
||||
a.cp-toolbar-link-logo:hover > svg:nth-of-type(2){ display: block; }
|
||||
}
|
||||
.cp-toolbar-user {
|
||||
height: @toolbar_top-height;
|
||||
|
||||
@ -900,7 +900,8 @@ MessengerUI, Messages, Pages, PadTypes, Lucide, Icons) {
|
||||
'class': "cp-toolbar-link-logo",
|
||||
'role': 'button',
|
||||
'aria-label': buttonTitle
|
||||
}).append(UI.getIcon(privateData.app));
|
||||
}).append(UI.getIcon(privateData.app)).append(Icons.get(toMain ? 'homepage' : 'drive')); //append both icons
|
||||
Lucide.createIcons();
|
||||
|
||||
var onClick = function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user