temporary fix for Chrome CSS bug
This commit is contained in:
parent
e9668823e3
commit
9d802dbf49
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,9 @@ def build_oxjs(downloads=False, geo=False):
|
||||||
svg = read_file(path + filename)
|
svg = read_file(path + filename)
|
||||||
svg = re.sub('\n\s*', '', svg)
|
svg = re.sub('\n\s*', '', svg)
|
||||||
svg = re.sub('<!--.+?-->', '', svg)
|
svg = re.sub('<!--.+?-->', '', svg)
|
||||||
|
# temporary fix for Chrome SVG bug, remove later!
|
||||||
|
svg = re.sub('width="256" height="256"', 'width="10" height="10" viewBox="0 0 255 255"', svg)
|
||||||
|
# end fix
|
||||||
ui_images[filename[:-4]] = svg
|
ui_images[filename[:-4]] = svg
|
||||||
if filename.startswith('symbolLoading'):
|
if filename.startswith('symbolLoading'):
|
||||||
for theme in themes:
|
for theme in themes:
|
||||||
|
|
Loading…
Reference in a new issue