This commit is contained in:
parent
320cea88b5
commit
6ef0b2f2bb
3 changed files with 3 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
@media (max-width: 768px) {
|
||||
.case-wrapper {
|
||||
margin: 12px;
|
||||
margin: 9px;
|
||||
width: 70px;
|
||||
height: 80px;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ frappe.ui.set_user_background = function(src, selector, style) {
|
|||
frappe.dom.set_style(repl('%(selector)s { \
|
||||
background: url("%(src)s") center center;\
|
||||
background-attachment: fixed; \
|
||||
background-size: 100%; \
|
||||
%(style)s \
|
||||
}', {src:src, selector:selector, style: style==="Fill Screen" ? "background-size: cover;" : ""}));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -150,6 +150,8 @@ def scrub_user_tags(tagcount):
|
|||
rdict = {}
|
||||
tagdict = dict(tagcount)
|
||||
for t in tagdict:
|
||||
if not t:
|
||||
continue
|
||||
alltags = t.split(',')
|
||||
for tag in alltags:
|
||||
if tag:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue