[openspending-dev] Pre-launch support, OpenSpending for Oakland, Calif.
anders.pedersen at okfn.org
Mon Apr 15 14:27:39 UTC 2013
Good luck with the launch today. We'd be eager to get a post up on the
OpenSpending blog, when you've gone official. Look forward to hear
what role the site will play in the debate over the Oakland budget.
And glad to hear that folks in Alameda are interested as well. Make
sure to send them on to the list :-)
On 13 April 2013 12:21, Adam Stiles <adam.d.stiles at gmail.com> wrote:
> On Sat, Apr 13, 2013 at 10:40 AM, Tryggvi Björgvinsson
> <tryggvi.bjorgvinsson at okfn.org> wrote:
>> On fös 12.apr 2013 22:47, Adam Stiles wrote:
>> > - CSS issue with treemap; text bleeds beyond the edge of the
>> > rectangles. Tryggvi
>> > suggested modifying treemap.css, which I tried but I'm probably doing
>> > something wrong. Our treemap.css is here:
>> > https://github.com/adstiles/openbudgetoakland/blob/gh-pages/pre-launch/stylesheets/treemap.css
>> Hi Adam!
>> I haven't looked at the other issues you mention, just this one. The
>> problem is that your site is loading your css files in the html head
>> while the openspending stuff is loaded towards the end of body.
>> Because the browser reads the head first and then the body, everything
>> you're doing in the head gets overwritten when the browser reads the
>> body. If you just move your stylesheets to the bottom of body it'll fix
>> Something like:
>> Here be lots of html stuff...
>> ...then some openspending stuff that ends with:
>> siteUrl: "http://openspending.org",
>> embed: true
>> window.wdg_widget = new
>> OpenSpending.AggregateTable($('#tablewidget'), context, state);
>> <link rel="stylesheet" href="stylesheets/treemap.css">
>> <link rel="stylesheet" href="stylesheets/bubbletree.css">
>> If you've made any other changes to the stylesheet you should move that
>> as well.
>> openspending-dev mailing list
>> openspending-dev at lists.okfn.org
>> Unsubscribe: http://lists.okfn.org/mailman/options/openspending-dev
> Adam Stiles
> openspending-dev mailing list
> openspending-dev at lists.okfn.org
> Unsubscribe: http://lists.okfn.org/mailman/options/openspending-dev
Open Knowledge Foundation
More information about the openspending-dev