Skip to content

Commit 928cb62

Browse files
committed
Add responsive design for predictions
1 parent d6d5ffd commit 928cb62

File tree

5 files changed

+50
-47
lines changed

5 files changed

+50
-47
lines changed

docs/demos/classification/dist/app.js

+16-15
Original file line numberDiff line numberDiff line change
@@ -8576,7 +8576,7 @@ var $author$project$Classification$viewClassExamples = function (examined) {
85768576
$elm$html$Html$div,
85778577
_List_fromArray(
85788578
[
8579-
$elm$html$Html$Attributes$class('max-w-xl grid grid-cols-3 gap-2')
8579+
$elm$html$Html$Attributes$class('max-w-xl grid grid-cols-3 gap-1')
85808580
]),
85818581
A2(
85828582
$elm$core$List$map,
@@ -8751,7 +8751,7 @@ var $author$project$Classification$viewInputExample = function (model) {
87518751
$elm$html$Html$div,
87528752
_List_fromArray(
87538753
[
8754-
$elm$html$Html$Attributes$class('flex flex-row gap-2')
8754+
$elm$html$Html$Attributes$class('flex flex-row gap-1')
87558755
]),
87568756
_List_fromArray(
87578757
[
@@ -9129,14 +9129,14 @@ var $author$project$Classification$viewInstructions = function (example) {
91299129
_List_fromArray(
91309130
[
91319131
$elm$html$Html$Attributes$class('grid grid-cols-2 sm:grid-cols-4 md:inline-grid md:grid-cols-2 md:items-start lg:grid-cols-4'),
9132-
$elm$html$Html$Attributes$class('gap-2 mt-4 md:mt-0')
9132+
$elm$html$Html$Attributes$class('gap-1 mt-4 md:mt-0')
91339133
]),
91349134
_List_fromArray(
91359135
[
9136-
A2($author$project$Classification$viewExampleButton, '/assets/contrib/classification/680.webp', 680),
9137-
A2($author$project$Classification$viewExampleButton, '/assets/contrib/classification/1129.webp', 1129),
9138-
A2($author$project$Classification$viewExampleButton, '/assets/contrib/classification/4139.webp', 4139),
9139-
A2($author$project$Classification$viewExampleButton, '/assets/contrib/classification/5099.webp', 5099)
9136+
A2($author$project$Classification$viewExampleButton, '/SAE-V/assets/contrib/classification/680.webp', 680),
9137+
A2($author$project$Classification$viewExampleButton, '/SAE-V/assets/contrib/classification/1129.webp', 1129),
9138+
A2($author$project$Classification$viewExampleButton, '/SAE-V/assets/contrib/classification/4139.webp', 4139),
9139+
A2($author$project$Classification$viewExampleButton, '/SAE-V/assets/contrib/classification/5099.webp', 5099)
91409140
]))
91419141
]))
91429142
]));
@@ -9326,15 +9326,15 @@ var $author$project$Classification$viewSaeExample = F2(
93269326
$elm$html$Html$div,
93279327
_List_fromArray(
93289328
[
9329-
$elm$html$Html$Attributes$class('')
9329+
$elm$html$Html$Attributes$class('border-b border-gray-300 my-2 pb-2')
93309330
]),
93319331
_List_fromArray(
93329332
[
93339333
A2(
93349334
$elm$html$Html$div,
93359335
_List_fromArray(
93369336
[
9337-
$elm$html$Html$Attributes$class('grid grid-cols-4')
9337+
$elm$html$Html$Attributes$class('grid grid-cols-2 gap-1')
93389338
]),
93399339
A2($elm$core$List$map, $author$project$Classification$viewImage, example.aj)),
93409340
A2(
@@ -9478,6 +9478,7 @@ var $author$project$Classification$viewSaeExamples = F2(
94789478
_List_Nil,
94799479
_List_fromArray(
94809480
[
9481+
$elm$html$Html$text('The '),
94819482
A2(
94829483
$elm$html$Html$span,
94839484
_List_fromArray(
@@ -9486,7 +9487,7 @@ var $author$project$Classification$viewSaeExamples = F2(
94869487
]),
94879488
_List_fromArray(
94889489
[
9489-
$elm$html$Html$text('These patches')
9490+
$elm$html$Html$text('red patches')
94909491
])),
94919492
$elm$html$Html$text(' above are like '),
94929493
A2(
@@ -9497,7 +9498,7 @@ var $author$project$Classification$viewSaeExamples = F2(
94979498
]),
94989499
_List_fromArray(
94999500
[
9500-
$elm$html$Html$text('these patches')
9501+
$elm$html$Html$text('highlighted patches')
95019502
])),
95029503
$elm$html$Html$text(' below. (Not what you expected? Add more patches)')
95039504
]))
@@ -9535,15 +9536,15 @@ var $author$project$Classification$view = function (model) {
95359536
$elm$html$Html$main_,
95369537
_List_fromArray(
95379538
[
9538-
$elm$html$Html$Attributes$class('w-full min-h-screen p-0 md:p-1 lg:p-2 bg-gray-50 space-y-4')
9539+
$elm$html$Html$Attributes$class('w-full min-h-screen p-0 bg-gray-50')
95399540
]),
95409541
_List_fromArray(
95419542
[
95429543
A2(
95439544
$elm$html$Html$div,
95449545
_List_fromArray(
95459546
[
9546-
$elm$html$Html$Attributes$class('border border-gray-200 bg-white p-2 space-y-4')
9547+
$elm$html$Html$Attributes$class('bg-white p-2 space-y-4')
95479548
]),
95489549
_List_fromArray(
95499550
[
@@ -9562,7 +9563,7 @@ var $author$project$Classification$view = function (model) {
95629563
$elm$html$Html$div,
95639564
_List_fromArray(
95649565
[
9565-
$elm$html$Html$Attributes$class('flex flex-col items-stretch')
9566+
$elm$html$Html$Attributes$class('flex flex-col items-stretch gap-2 md:flex-row')
95669567
]),
95679568
_List_fromArray(
95689569
[
@@ -9574,7 +9575,7 @@ var $author$project$Classification$view = function (model) {
95749575
$elm$html$Html$div,
95759576
_List_fromArray(
95769577
[
9577-
$elm$html$Html$Attributes$class('border-t border-gray-200')
9578+
$elm$html$Html$Attributes$class('border-t border-gray-300')
95789579
]),
95799580
_List_Nil),
95809581
A2(

0 commit comments

Comments
 (0)