This commit is contained in:
Rushabh Mehta 2014-06-11 14:51:36 +05:30
parent 320cea88b5
commit 6ef0b2f2bb
3 changed files with 3 additions and 2 deletions

View file

@ -20,7 +20,7 @@
@media (max-width: 768px) {
.case-wrapper {
margin: 12px;
margin: 9px;
width: 70px;
height: 80px;
}

View file

@ -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;" : ""}));
}

View file

@ -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: