@@ -199,7 +199,7 @@ export default function URLShortenerPage(props) {
199
199
< p className = 'md:hidden' >
200
200
{ startingElementNumber } - { endingElementNumber } / { total }
201
201
</ p >
202
- < p className = "hidden md:inline-block" >
202
+ < p className = "hidden md:inline-block text-base leading-7 text-gray-300 " >
203
203
Showing < span className = 'font-medium' > { startingElementNumber } </ span > to < span className = 'font-medium' > { endingElementNumber } </ span > of < span className = 'font-medium' > { total + 1 } </ span > results
204
204
</ p >
205
205
</ > ) }
@@ -230,7 +230,7 @@ export default function URLShortenerPage(props) {
230
230
if ( ! showUrlInput ) {
231
231
return (
232
232
< button
233
- className = "btn btn-outline"
233
+ className = "btn btn-outline text-base leading-7 text-gray-300 "
234
234
onClick = { ( ) => setShowUrlInput ( true ) }
235
235
>
236
236
+ Create a new link
@@ -259,15 +259,14 @@ export default function URLShortenerPage(props) {
259
259
value = { url }
260
260
onChange = { e => setUrl ( e . target . value ) }
261
261
className = "w-full text-sm input input-bordered sm:text-base"
262
- // className={INPUT_CLASS}
263
262
/>
264
263
</ div >
265
264
</ div >
266
265
267
266
< div className = "col-span-3" >
268
267
< div className = "form-control" >
269
- < label className = " label cursor-pointer" >
270
- < span className = "label-text" > Use Generated Alias</ span >
268
+ < label className = { ` label cursor-pointer ${ LABEL_CLASS } ` } >
269
+ < span className = { LABEL_CLASS } > Use Generated Alias</ span >
271
270
< input type = "checkbox" className = "toggle" checked = { useGeneratedAlias } onChange = { ( e ) => setUseGeneratedAlias ( e . target . checked ) } />
272
271
</ label >
273
272
</ div >
@@ -313,8 +312,8 @@ export default function URLShortenerPage(props) {
313
312
314
313
function maybeRenderSearch ( ) {
315
314
return (
316
- < > < div className = " label" >
317
- < span className = "label-text text-md" > Type a search, followed by the enter key</ span >
315
+ < > < div className = { ' label ${LABEL_CLASS}' } >
316
+ < span className = { LABEL_CLASS } > Type a search, followed by the enter key</ span >
318
317
</ div > < input
319
318
className = "w-full text-sm input input-bordered sm:text-base"
320
319
type = "text"
@@ -420,7 +419,7 @@ export default function URLShortenerPage(props) {
420
419
{ maybeRenderSearch ( ) }
421
420
</ div >
422
421
< div className = 'overflow-x-auto transition' >
423
- < table className = 'table px-3' >
422
+ < table className = 'table px-3 block text-sm leading-6 text-gray-300 ' >
424
423
< thead >
425
424
< tr >
426
425
{ [
0 commit comments