Skip to content

Commit a91cdc5

Browse files
authored
Merge pull request #475 from swfz/feature/following-lint
fix: tailwindcss class order
2 parents 77348da + f48196d commit a91cdc5

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

pages/arrow-flow-generator/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,14 +355,14 @@ const ArrowFlowGenerator: NextPage = () => {
355355
<div>
356356
<div className="my-3">
357357
<button
358-
className="mx-1 items-center rounded-sm border border-gray-400 bg-white py-2 px-4 text-gray-800 hover:bg-gray-100"
358+
className="mx-1 items-center rounded-sm border border-gray-400 bg-white px-4 py-2 text-gray-800 hover:bg-gray-100"
359359
onClick={handleAddButtonClick}
360360
>
361361
+Add Item
362362
</button>
363363

364364
<button
365-
className="mx-1 items-center rounded-sm border border-gray-400 bg-white py-2 px-4 text-gray-800 hover:bg-gray-100"
365+
className="mx-1 items-center rounded-sm border border-gray-400 bg-white px-4 py-2 text-gray-800 hover:bg-gray-100"
366366
onClick={handleDownload}
367367
>
368368
Download

pages/kusa/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const KusaIndex: NextPage = () => {
3838
placeholder="GitHub UserID"
3939
/>
4040
<button
41-
className="mx-1 items-center rounded-sm border border-gray-400 bg-white py-2 px-4 text-gray-800 hover:bg-gray-100"
41+
className="mx-1 items-center rounded-sm border border-gray-400 bg-white px-4 py-2 text-gray-800 hover:bg-gray-100"
4242
onClick={handleClick}
4343
>
4444
View

pages/timeline/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ const Schedule: NextPage = () => {
187187
</tbody>
188188
</table>
189189
<button
190-
className="sticky left-0 mx-1 flex items-center rounded border border-gray-400 bg-white py-2 px-4 font-semibold text-gray-800 shadow hover:bg-gray-100"
190+
className="sticky left-0 mx-1 flex items-center rounded border border-gray-400 bg-white px-4 py-2 font-semibold text-gray-800 shadow hover:bg-gray-100"
191191
onClick={addItem}
192192
>
193193
+

pages/timer/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,14 @@ const Timer: NextPage = () => {
263263
</div>
264264
<div className="flex flex-row p-1">
265265
<button
266-
className="mx-1 flex items-center rounded border border-gray-400 bg-white py-2 px-4 font-semibold text-gray-800 shadow hover:bg-gray-100"
266+
className="mx-1 flex items-center rounded border border-gray-400 bg-white px-4 py-2 font-semibold text-gray-800 shadow hover:bg-gray-100"
267267
onClick={startTimer}
268268
>
269269
<PlayIcon />
270270
Start
271271
</button>
272272
<button
273-
className="mx-1 flex items-center rounded border border-gray-400 bg-white py-2 px-4 font-semibold text-gray-800 shadow hover:bg-gray-100"
273+
className="mx-1 flex items-center rounded border border-gray-400 bg-white px-4 py-2 font-semibold text-gray-800 shadow hover:bg-gray-100"
274274
onClick={pauseTimer}
275275
>
276276
{paused ? (
@@ -286,7 +286,7 @@ const Timer: NextPage = () => {
286286
)}
287287
</button>
288288
<button
289-
className="mx-1 flex items-center rounded border border-gray-400 bg-white py-2 px-4 font-semibold text-gray-800 shadow hover:bg-gray-100"
289+
className="mx-1 flex items-center rounded border border-gray-400 bg-white px-4 py-2 font-semibold text-gray-800 shadow hover:bg-gray-100"
290290
onClick={resetTimer}
291291
>
292292
<StopIcon />
@@ -295,7 +295,7 @@ const Timer: NextPage = () => {
295295
</div>
296296
<div className="p-1">
297297
<button
298-
className="mx-1 flex items-center rounded border border-gray-400 bg-white py-2 px-4 font-semibold text-gray-800 shadow hover:bg-gray-100"
298+
className="mx-1 flex items-center rounded border border-gray-400 bg-white px-4 py-2 font-semibold text-gray-800 shadow hover:bg-gray-100"
299299
onClick={createVideo}
300300
>
301301
<DuplicateIcon />

src/components/kusa/contributions/contributions-simple.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const ContributionsSimple = (props: Props) => {
172172
<div className="flex justify-start sm:justify-end">
173173
<button
174174
onClick={handleSummaryOpen}
175-
className="basis-full rounded border border-gray-400 bg-white py-1 px-2 font-semibold text-gray-800 shadow hover:bg-gray-100 sm:basis-1/2"
175+
className="basis-full rounded border border-gray-400 bg-white px-2 py-1 font-semibold text-gray-800 shadow hover:bg-gray-100 sm:basis-1/2"
176176
>
177177
{open ? 'Fold up' : 'Open'} All Details
178178
</button>

src/components/kusa/contributions/contributions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ const Contributions = (props: Props) => {
6666
return (
6767
<div key={tab.name}>
6868
{selectedTab == tab.name ? (
69-
<button className="border-b-2 border-blue-500 py-4 px-6 font-medium text-blue-500 hover:text-blue-500 focus:outline-none">
69+
<button className="border-b-2 border-blue-500 px-6 py-4 font-medium text-blue-500 hover:text-blue-500 focus:outline-none">
7070
{tab.displayName}
7171
</button>
7272
) : (
7373
<button
7474
onClick={() => setSelectedTab(tab.name)}
75-
className="py-4 px-6 text-gray-600 hover:text-blue-500 focus:outline-none"
75+
className="px-6 py-4 text-gray-600 hover:text-blue-500 focus:outline-none"
7676
>
7777
{tab.displayName}
7878
</button>

0 commit comments

Comments
 (0)