Fix Issue 415: main menu highlight extends to border of menu (patch from wnauta)
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1230 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
9e0c8fff0e
commit
907998343d
|
@ -306,8 +306,9 @@
|
||||||
#svg_editor #main_menu li {
|
#svg_editor #main_menu li {
|
||||||
/* height: 35px;*/
|
/* height: 35px;*/
|
||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
padding-top: 2px;
|
padding-top: 7px;
|
||||||
padding-left: 2px;
|
padding-left: 7px;
|
||||||
|
margin: -5px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
# This is a helper script for the svg-edit project, useful for updating language files
|
# This is a helper script for the svg-edit project, useful for managing
|
||||||
|
# all the language files
|
||||||
|
#
|
||||||
# Licensed under the Apache 2 License as is the rest of the project
|
# Licensed under the Apache 2 License as is the rest of the project
|
||||||
# Requires Python 2.6
|
# Requires Python 2.6
|
||||||
#
|
#
|
||||||
|
@ -60,7 +62,7 @@ def processFile(filename):
|
||||||
j = json.loads(in_string)
|
j = json.loads(in_string)
|
||||||
|
|
||||||
# process the JSON object here
|
# process the JSON object here
|
||||||
updateMainMenu(j)
|
# updateMainMenu(j)
|
||||||
|
|
||||||
# now write it out back to the file
|
# now write it out back to the file
|
||||||
s = ourPrettyPrint(j).encode("UTF-8");
|
s = ourPrettyPrint(j).encode("UTF-8");
|
||||||
|
|
Loading…
Reference in New Issue