Skip to content

Commit dfdc2ec

Browse files
committed
Fix service search
1 parent c3faec7 commit dfdc2ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

service/src/main/kotlin/app/cash/backfila/ui/components/ServiceSelection.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import app.cash.backfila.dashboard.GetServicesAction
44
import kotlinx.html.InputType
55
import kotlinx.html.TagConsumer
66
import kotlinx.html.a
7+
import kotlinx.html.classes
78
import kotlinx.html.div
89
import kotlinx.html.h3
910
import kotlinx.html.input
@@ -35,11 +36,11 @@ fun TagConsumer<*>.ServiceSelect(
3536
role = "list"
3637

3738
services.map { (servicePath, service) ->
38-
a {
39+
a(classes = "registration") {
3940
val variant = if (servicePath.split("/").last() == "default") null else servicePath.split("/").last()
4041
href = serviceLinkBuilder(service.name, variant)
4142

42-
this@ul.li("registration col-span-1 divide-y divide-gray-200 rounded-lg bg-white shadow") {
43+
this@ul.li("col-span-1 divide-y divide-gray-200 rounded-lg bg-white shadow") {
4344
div("flex w-full items-center justify-between space-x-6 p-6") {
4445
div("flex-1 truncate") {
4546
div("flex items-center space-x-3") {

0 commit comments

Comments
 (0)