Fixed size for nav icons with static images

This commit is contained in:
Fabio Manganiello 2022-03-30 13:53:10 +02:00
parent e261dcc27a
commit 96a2d8bef0
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
9 changed files with 24 additions and 16 deletions

View file

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.5adf1720.js"></script><script defer="defer" type="module" src="/static/js/app.dc899f71.js"></script><link href="/static/css/chunk-vendors.5cf89a0c.css" rel="stylesheet"><link href="/static/css/app.1dc7c54a.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.cc8c0644.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.76804b66.js" nomodule></script></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.5adf1720.js"></script><script defer="defer" type="module" src="/static/js/app.651026b6.js"></script><link href="/static/css/chunk-vendors.5cf89a0c.css" rel="stylesheet"><link href="/static/css/app.8a82405f.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.6835b8d0.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.059219df.js" nomodule></script></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

View file

@ -193,6 +193,19 @@ nav {
margin: 0;
}
ul {
li {
.icon {
margin-right: 0;
& img {
width: 1.25em;
height: 1.25em;
}
}
}
}
&.collapsed {
display: flex;
flex-direction: column;
@ -282,11 +295,6 @@ nav {
.icon {
margin-right: 0;
& img {
width: 1.25em;
height: 1.25em;
}
}
@media screen and (max-width: $tablet) {