diff --git a/README.md b/README.md index d8b5c41..94eea69 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@

CodeUtsava 7.0

- The official repository for the website of CodeUtsava 7.0 + The Official Repository for the website of CodeUtsava 7.0

View Live diff --git a/src/pages/home/sections/section14/Section14.js b/src/pages/home/sections/section14/Section14.js index 393ca01..f1b8036 100644 --- a/src/pages/home/sections/section14/Section14.js +++ b/src/pages/home/sections/section14/Section14.js @@ -45,11 +45,21 @@ const Section14 = () => { ], }); + const getFontSize = () => { + const fontSize = window.innerWidth <= 767 ? "8px" : "14px"; + return fontSize; + }; + const optionsWithoutToolbar = { ...state.options, toolbar: { show: false, }, + dataLabels: { + style: { + fontSize: getFontSize(), + }, + }, }; const [counterOn, setCounterOn] = useState(false); @@ -93,7 +103,7 @@ const Section14 = () => {