Hi
I am trying to reduce the spacing between the columns in this rows so that all their columns are centred, with less spacing
This is my code:
<ion-row>
<ion-col class="gaugerangetext_col" >
<ion-item class="gaugerangetext_col_low"></ion-item>
<ion-text class="gaugerangetext">Good 0-30</ion-text>
</ion-col>
<ion-col class="gaugerangetext_col">
<ion-item class="gaugerangetext_col_medium"></ion-item>
<ion-text class="gaugerangetext">Moderate 30-60</ion-text>
</ion-col>
<ion-col class="gaugerangetext_col" >
<ion-item class="gaugerangetext_col_high"></ion-item>
<ion-text class="gaugerangetext">Bad 60-90</ion-text>
</ion-col>
</ion-row>
.gaugerangetext {
font-weight: 600;
font-size: 10px;
letter-spacing: 1px;
color: #108684;
display: inline-block;
margin: 0 auto;
position: relative; /* Declared position allows for location changes */
top: -150px; /* Moves the image 2px closer to the top of the page */
//left: 10px;
}
.gaugerangetext_col {
text-align: center;
}
.gaugerangetext_col_low {
width: 20px;
height: 10px;
--background: #0c8eca;///change
margin: 0 auto;
// left: -40px;
// top: -135px;
}
.gaugerangetext_col_medium {
width: 20px;
height: 10px;
--background: #eeb333;
margin: 0 auto;
// left: -65px;
// top: -135px;
}
.gaugerangetext_col_high {
width: 20px;
height: 10px;
--background: #f0250a;
margin: 0 auto;
// left: -52px;
// top: -135px;
}
What do I need to change to reduce the spacing?