Making WordPress.org

Changeset 7463


Ignore:
Timestamp:
07/13/2018 10:23:49 PM (6 years ago)
Author:
obenland
Message:

Plugins: Stats: Don't set a fixed width.

Helps with making Google visualizations responsive.

Props josevarghese.
Fixes #3716.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/stats.js

    r6245 r7463  
    4646                    bar: { groupWidth: ( data.getNumberOfRows() > 100 ? '100%' : null ) },
    4747                    height: 350,
    48                     width: 532,
    4948                    curveType: 'function',
    5049                    trendlines: {
     
    105104                    bar: { groupWidth: ( data.getNumberOfRows() > 100 ? '100%' : null ) },
    106105                    height: 350,
    107                     width: 532,
    108106                    curveType: 'function',
    109107                    trendlines: {
Note: See TracChangeset for help on using the changeset viewer.