From 81205da08cdf857a11d01d492c7dd200177fcd1d Mon Sep 17 00:00:00 2001 From: Quy_FE Date: Mon, 28 Apr 2025 16:04:25 +0700 Subject: [PATCH] Style : button-custom --- src/_components/boxChart/boxChart.scss | 4 ++-- src/_components/renderIcon/index.js | 16 +++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/_components/boxChart/boxChart.scss b/src/_components/boxChart/boxChart.scss index 493f533..b562dcf 100644 --- a/src/_components/boxChart/boxChart.scss +++ b/src/_components/boxChart/boxChart.scss @@ -22,8 +22,8 @@ .doughnut-chart-content {} .custom-button { - padding: 0 32px; - height: 40px; + padding: 8px; + height: auto; border-radius: 20px; border: none; font-size: 16px; diff --git a/src/_components/renderIcon/index.js b/src/_components/renderIcon/index.js index 0bf0387..ec7d34a 100644 --- a/src/_components/renderIcon/index.js +++ b/src/_components/renderIcon/index.js @@ -139,15 +139,21 @@ export const renderIconSearchInput = () => { ); }; -export const renderIconButton = () => { +export const renderIconButton = (width = 24, height = 24) => { return ( - + ) } -export const renderIconButtonLeft = () => { +export const renderIconButtonLeft = (width = 24, height = 24) => { return ( - + @@ -158,7 +164,7 @@ export const renderIconButtonLeft = () => { ); -} +}; export const renderIconDate = () => (