Skip to content

Commit

Permalink
Fix search bar select interaction
Browse files Browse the repository at this point in the history
  • Loading branch information
dellisd committed Aug 8, 2023
1 parent 61a67da commit 84cea0b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions web/src/jsMain/kotlin/ca/derekellis/reroute/ui/AppStylesheet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import org.jetbrains.compose.web.css.fontFamily
import org.jetbrains.compose.web.css.height
import org.jetbrains.compose.web.css.left
import org.jetbrains.compose.web.css.margin
import org.jetbrains.compose.web.css.media
import org.jetbrains.compose.web.css.mediaMaxWidth
import org.jetbrains.compose.web.css.percent
import org.jetbrains.compose.web.css.position
Expand All @@ -32,9 +33,12 @@ object AppStylesheet : StyleSheet() {
position(Position.Absolute)
top(0.px)
left(0.px)
width(100.percent)
height(100.percent)
property("pointer-events", "none")
width(512.px)
media(SmallMediaQuery) {
self style {
width(100.percent)
}
}
}

val SmallMediaQuery = mediaMaxWidth(600.px)
Expand Down

0 comments on commit 84cea0b

Please sign in to comment.