Skip to content

Commit

Permalink
Minor style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed Jul 20, 2015
1 parent 10fb856 commit 034f427
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions demo/moulinrouge/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_unsorted():

@app.route('/test/bar_links')
def test_bar_links():
bar = Bar(style=styles['default'](
bar = StackedLine(style=styles['default'](
font_family='googlefont:Raleway'))
bar.js = ('http://l:2343/2.0.x/pygal-tooltips.js',)
bar.title = 'Wow ! Such Chart !'
Expand All @@ -59,8 +59,8 @@ def test_bar_links():
{'value': 10,
'label': 'Ten',
'xlink': 'http://google.com?q=10'},
{'value': 25,
'label': 'Twenty is a good number yada yda yda yada yada',
{'value': 20,
'label': 'Twenty is a good number yada yda yda yada yadaaaaaaaaaaaaaaaaaaaaaa',
'xlink': 'http://google.com?q=20'},
30,
{'value': 40,
Expand Down
3 changes: 2 additions & 1 deletion pygal/css/graph.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@
}

{{ id }}.tooltip rect {
fill-opacity: 0.8;
fill-opacity: .95;
stroke-width: .5;
}

{{ id }}.tooltip text {
Expand Down
2 changes: 1 addition & 1 deletion pygal/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}

{{ id }}.tooltip .value {
font-size: 2em;
font-size: 1.5em;
}

{{ id }}.map-element {
Expand Down

0 comments on commit 034f427

Please sign in to comment.