File tree 5 files changed +7
-7
lines changed 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ Add the loading spinner inside a button to indicate fetching status directly ins
68
68
69
69
<CodePreview importFlowbiteReact = " Button, Spinner" title = " Buttons" className = " flex flex-row gap-3" >
70
70
<Button >
71
- <Spinner aria-label = " Spinner button example" />
71
+ <Spinner aria-label = " Spinner button example" size = " sm " />
72
72
<span className = " pl-3" >Loading...</span >
73
73
</Button >
74
74
<Button color = " gray" >
75
- <Spinner aria-label = " Alternate spinner button example" />
75
+ <Spinner aria-label = " Alternate spinner button example" size = " sm " />
76
76
<span className = " pl-3" >Loading...</span >
77
77
</Button >
78
78
</CodePreview >
Original file line number Diff line number Diff line change @@ -121,10 +121,10 @@ This component can be used to show more complex messages with buttons and other
121
121
<span className = " mb-1 text-sm font-semibold text-gray-900 dark:text-white" >Update available</span >
122
122
<div className = " mb-2 text-sm font-normal" >A new software version is available for download.</div >
123
123
<div className = " flex-start flex gap-2" >
124
- <div className = " w-full " >
124
+ <div className = " w-auto " >
125
125
<Button size = " xs" >Update</Button >
126
126
</div >
127
- <div className = " w-full " >
127
+ <div className = " w-auto " >
128
128
<Button color = " light" size = " xs" >
129
129
Not now
130
130
</Button >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export const breadcrumbTheme: FlowbiteBreadcrumbTheme = {
7
7
} ,
8
8
item : {
9
9
base : 'group flex items-center' ,
10
- chevron : 'mx-1 h-6 w-6 text-gray-400 group-first:hidden md:mx-2' ,
10
+ chevron : 'mx-1 h-4 w-4 text-gray-400 group-first:hidden md:mx-2' ,
11
11
href : {
12
12
off : 'flex items-center text-sm font-medium text-gray-500 dark:text-gray-400' ,
13
13
on : 'flex items-center text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white' ,
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export const buttonTheme: FlowbiteButtonTheme = {
72
72
'text-gray-900 bg-gradient-to-r from-teal-200 to-lime-200 enabled:hover:bg-gradient-to-l enabled:hover:from-teal-200 enabled:hover:to-lime-200 enabled:hover:text-gray-900 focus:ring-4 focus:ring-lime-200 dark:focus:ring-teal-700' ,
73
73
} ,
74
74
inner : {
75
- base : 'flex items-stretch transition-all duration-200' ,
75
+ base : 'flex items-stretch items-center transition-all duration-200' ,
76
76
position : {
77
77
none : '' ,
78
78
start : 'rounded-r-none' ,
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export const listGroupTheme: FlowbiteListGroupTheme = {
7
7
item : {
8
8
base : '[&>*]:first:rounded-t-lg [&>*]:last:rounded-b-lg [&>*]:last:border-b-0' ,
9
9
link : {
10
- base : 'flex w-full border-b border-gray-200 py-2 px-4 dark:border-gray-600' ,
10
+ base : 'flex items-center w-full border-b border-gray-200 py-2 px-4 dark:border-gray-600' ,
11
11
active : {
12
12
off : 'hover:bg-gray-100 hover:text-cyan-700 focus:text-cyan-700 focus:outline-none focus:ring-2 focus:ring-cyan-700 dark:border-gray-600 dark:hover:bg-gray-600 dark:hover:text-white dark:focus:text-white dark:focus:ring-gray-500' ,
13
13
on : 'bg-cyan-700 text-white dark:bg-gray-800' ,
You can’t perform that action at this time.
0 commit comments