Skip to content

Commit 5b7e096

Browse files
author
Kevin Hannegan
committed
add font sizes
1 parent 93e5e5f commit 5b7e096

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

presalytics/lib/widgets/chart.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,18 @@ def serialize(self, **kwargs):
145145
width: 100%;
146146
margin: 0px;
147147
}
148+
149+
.c3-axis-y text,
150+
.c3-axis-x text,
151+
.c3-axis-y2 text,
152+
.c3-legend-item text
153+
{
154+
font-size: 1rem;
155+
}
148156
"""
149157

158+
159+
150160
def create_subdocument(self, **kwargs):
151161
return self.standalone_html()
152162

0 commit comments

Comments
 (0)