Skip to content

Commit cf60635

Browse files
committed
refactor: update responsive behavior
1 parent 2b18af5 commit cf60635

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/views/widgets/Widgets.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const Widgets = () => {
126126
</DocsExample>
127127
<DocsExample href="components/widgets/#cwidgetstatse">
128128
<CRow xs={{ gutter: 4 }}>
129-
<CCol sm={4} lg={2}>
129+
<CCol sm={4} md={3} xl={2}>
130130
<CWidgetStatsE
131131
chart={
132132
<CChartBar
@@ -197,7 +197,7 @@ const Widgets = () => {
197197
value="1,123"
198198
/>
199199
</CCol>
200-
<CCol sm={4} lg={2}>
200+
<CCol sm={4} md={3} xl={2}>
201201
<CWidgetStatsE
202202
chart={
203203
<CChartBar
@@ -268,7 +268,7 @@ const Widgets = () => {
268268
value="1,123"
269269
/>
270270
</CCol>
271-
<CCol sm={4} lg={2}>
271+
<CCol sm={4} md={3} xl={2}>
272272
<CWidgetStatsE
273273
chart={
274274
<CChartBar
@@ -339,7 +339,7 @@ const Widgets = () => {
339339
value="1,123"
340340
/>
341341
</CCol>
342-
<CCol sm={4} lg={2}>
342+
<CCol sm={4} md={3} xl={2}>
343343
<CWidgetStatsE
344344
chart={
345345
<CChartLine
@@ -418,7 +418,7 @@ const Widgets = () => {
418418
value="1,123"
419419
/>
420420
</CCol>
421-
<CCol sm={4} lg={2}>
421+
<CCol sm={4} md={3} xl={2}>
422422
<CWidgetStatsE
423423
chart={
424424
<CChartLine
@@ -497,7 +497,7 @@ const Widgets = () => {
497497
value="1,123"
498498
/>
499499
</CCol>
500-
<CCol sm={4} lg={2}>
500+
<CCol sm={4} md={3} xl={2}>
501501
<CWidgetStatsE
502502
chart={
503503
<CChartLine
@@ -776,47 +776,47 @@ const Widgets = () => {
776776
</DocsExample>
777777
<DocsExample href="components/widgets/#cwidgetstatsc">
778778
<CRow xs={{ gutter: 4 }}>
779-
<CCol xs={6} lg={4} xl={4} xxl={2}>
779+
<CCol xs={6} lg={4} xxl={2}>
780780
<CWidgetStatsC
781781
icon={<CIcon icon={cilPeople} height={36} />}
782782
value="87.500"
783783
title="Visitors"
784784
progress={{ color: 'info', value: 75 }}
785785
/>
786786
</CCol>
787-
<CCol xs={6} lg={4} xl={4} xxl={2}>
787+
<CCol xs={6} lg={4} xxl={2}>
788788
<CWidgetStatsC
789789
icon={<CIcon icon={cilUserFollow} height={36} />}
790790
value="385"
791791
title="New Clients"
792792
progress={{ color: 'success', value: 75 }}
793793
/>
794794
</CCol>
795-
<CCol xs={6} lg={4} xl={4} xxl={2}>
795+
<CCol xs={6} lg={4} xxl={2}>
796796
<CWidgetStatsC
797797
icon={<CIcon icon={cilBasket} height={36} />}
798798
value="1238"
799799
title="Products sold"
800800
progress={{ color: 'warning', value: 75 }}
801801
/>
802802
</CCol>
803-
<CCol xs={6} lg={4} xl={4} xxl={2}>
803+
<CCol xs={6} lg={4} xxl={2}>
804804
<CWidgetStatsC
805805
icon={<CIcon icon={cilChartPie} height={36} />}
806806
value="28%"
807807
title="Returning Visitors"
808808
progress={{ color: 'primary', value: 75 }}
809809
/>
810810
</CCol>
811-
<CCol xs={6} lg={4} xl={4} xxl={2}>
811+
<CCol xs={6} lg={4} xxl={2}>
812812
<CWidgetStatsC
813813
icon={<CIcon icon={cilSpeedometer} height={36} />}
814814
value="5:34:11"
815815
title="Avg. Time"
816816
progress={{ color: 'danger', value: 75 }}
817817
/>
818818
</CCol>
819-
<CCol xs={6} lg={4} xl={4} xxl={2}>
819+
<CCol xs={6} lg={4} xxl={2}>
820820
<CWidgetStatsC
821821
icon={<CIcon icon={cilSpeech} height={36} />}
822822
value="972"
@@ -828,7 +828,7 @@ const Widgets = () => {
828828
</DocsExample>
829829
<DocsExample href="components/widgets/#cwidgetstatsc">
830830
<CRow xs={{ gutter: 4 }}>
831-
<CCol xs={6} lg={4} xl={4} xxl={2}>
831+
<CCol xs={6} lg={4} xxl={2}>
832832
<CWidgetStatsC
833833
color="info"
834834
icon={<CIcon icon={cilPeople} height={36} />}
@@ -838,7 +838,7 @@ const Widgets = () => {
838838
progress={{ value: 75 }}
839839
/>
840840
</CCol>
841-
<CCol xs={6} lg={4} xl={4} xxl={2}>
841+
<CCol xs={6} lg={4} xxl={2}>
842842
<CWidgetStatsC
843843
color="success"
844844
icon={<CIcon icon={cilUserFollow} height={36} />}
@@ -848,7 +848,7 @@ const Widgets = () => {
848848
progress={{ value: 75 }}
849849
/>
850850
</CCol>
851-
<CCol xs={6} lg={4} xl={4} xxl={2}>
851+
<CCol xs={6} lg={4} xxl={2}>
852852
<CWidgetStatsC
853853
color="warning"
854854
icon={<CIcon icon={cilBasket} height={36} />}
@@ -858,7 +858,7 @@ const Widgets = () => {
858858
progress={{ value: 75 }}
859859
/>
860860
</CCol>
861-
<CCol xs={6} lg={4} xl={4} xxl={2}>
861+
<CCol xs={6} lg={4} xxl={2}>
862862
<CWidgetStatsC
863863
color="primary"
864864
icon={<CIcon icon={cilChartPie} height={36} />}
@@ -868,7 +868,7 @@ const Widgets = () => {
868868
progress={{ value: 75 }}
869869
/>
870870
</CCol>
871-
<CCol xs={6} lg={4} xl={4} xxl={2}>
871+
<CCol xs={6} lg={4} xxl={2}>
872872
<CWidgetStatsC
873873
color="danger"
874874
icon={<CIcon icon={cilSpeedometer} height={36} />}
@@ -878,7 +878,7 @@ const Widgets = () => {
878878
progress={{ value: 75 }}
879879
/>
880880
</CCol>
881-
<CCol xs={6} lg={4} xl={4} xxl={2}>
881+
<CCol xs={6} lg={4} xxl={2}>
882882
<CWidgetStatsC
883883
color="info"
884884
icon={<CIcon icon={cilSpeech} height={36} />}

0 commit comments

Comments
 (0)