You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a match in the past and update the result. In the first batting innings add at least one batter to the scorecard and fill in the total runs for the innings and wickets taken. Don't fill in any bowling data. In the second batting innings don't fill in details of any batters but just add the total score and wickets taken. When you save the match and view the scorecard the alignment will be as shown in this screenshot.
Change required
The first batting innings uses the full scorecard display. Find out the width setting on the 'Balls' column.
The second batting innings uses the minimal scorecard display. Add some right padding equal to the width of the 'Balls' column so that 'Total' and 'Wickets' labels and the 'Runs' column line up. Minimal scorecards can always use this spacing even when there are two minimal scorecards and no full scorecard.
These tables adjust responsively to mobile and tablet screen sizes. The small screen layout should not be changed:
The text was updated successfully, but these errors were encountered:
@Developing-Developer2019 Sorry I'd just written it up as a 'note to self' but I've fleshed out the detail a lot more now. It would be amazing to have you contribute!
How to reproduce
At the time of writing this is a live example.
Create a match in the past and update the result. In the first batting innings add at least one batter to the scorecard and fill in the total runs for the innings and wickets taken. Don't fill in any bowling data. In the second batting innings don't fill in details of any batters but just add the total score and wickets taken. When you save the match and view the scorecard the alignment will be as shown in this screenshot.
Change required
The first batting innings uses the full scorecard display. Find out the width setting on the 'Balls' column.
The second batting innings uses the minimal scorecard display. Add some right padding equal to the width of the 'Balls' column so that 'Total' and 'Wickets' labels and the 'Runs' column line up. Minimal scorecards can always use this spacing even when there are two minimal scorecards and no full scorecard.
These tables adjust responsively to mobile and tablet screen sizes. The small screen layout should not be changed:
The text was updated successfully, but these errors were encountered: