Skip to content

Commit cab9c87

Browse files
committed
Tweak uptime percentage styling
1 parent ff8e0ec commit cab9c87

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/assetbundles/ohdear/src/js/components/pages/Uptime.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
@mouseover="setTooltipContent(day)"
5858
:style="getCellStyle(day)"
5959
class="oh-h-8 oh-w-8 oh-m-0.5 oh-rounded-sm oh-flex oh-justify-center oh-items-center cell">
60-
<span class="oh-whitespace-nowrap oh-text-xs oh-font-medium pointer-events-none" style="color: rgba(0,0,0,0.45)">{{day.uptimePercentage}}</span>
60+
<span class="oh-whitespace-nowrap oh-text-2xs oh-font-medium pointer-events-none oh-text-black/50">{{day.uptimePercentage}}</span>
6161
</div>
6262

6363
<div v-for="day in daysToGoThisWeek" class="oh-bg-gray-300 oh-h-8 oh-w-8 oh-m-0.5 oh-rounded-sm"></div>

tailwind.config.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,13 @@ module.exports = {
144144
},
145145
},
146146
fontSize: {
147-
xs: '0.75rem',
148-
sm: '0.875rem',
149-
base: '1rem',
150-
lg: '1.125rem',
151-
xl: '1.25rem',
147+
'3xs': '0.5rem',
148+
'2xs': '0.625rem',
149+
'xs': '0.75rem',
150+
'sm': '0.875rem',
151+
'base': '1rem',
152+
'lg': '1.125rem',
153+
'xl': '1.25rem',
152154
'2xl': '1.5rem',
153155
'3xl': '1.875rem',
154156
'4xl': '2.25rem',

0 commit comments

Comments
 (0)