Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use max-width to make content more responsive.
  • Loading branch information
bdice committed Aug 10, 2020
commit 64faef05ea29abcc4a30a53ef28f719fffbae1e5
2 changes: 1 addition & 1 deletion lib/matplotlib/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def color_block(color):
'title="' + self.name + '" ' +
'style="border: 1px solid #555;" ' +
'src="data:image/png;base64,' + png_base64 + '"></div>' +
'<div style="vertical-align: middle; width: 402px; ' +
'<div style="vertical-align: middle; max-width: 402px; ' +
Comment thread
bdice marked this conversation as resolved.
Outdated
'display: flex; justify-content: space-between;">' +
'<div style="float: left;">' +
color_block(self.get_under()) + ' under' +
Expand Down