diff options
Diffstat (limited to 'src/jsMain/kotlin/moe/nea89/website/Styles.kt')
-rw-r--r-- | src/jsMain/kotlin/moe/nea89/website/Styles.kt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/jsMain/kotlin/moe/nea89/website/Styles.kt b/src/jsMain/kotlin/moe/nea89/website/Styles.kt index e1470d7..62e4f8b 100644 --- a/src/jsMain/kotlin/moe/nea89/website/Styles.kt +++ b/src/jsMain/kotlin/moe/nea89/website/Styles.kt @@ -10,6 +10,7 @@ import styled.animation object Styles : StyleSheet("DefaultConsoleStyles") { val consoleClass = "Console" + val mobileFocusInput = "mobileFocusInput" val promptClass = "prompt" val bgColor = CustomColor.BLACK.color @@ -23,6 +24,11 @@ object Styles : StyleSheet("DefaultConsoleStyles") { boxSizing = BoxSizing.borderBox } + ".$mobileFocusInput" { + width = 0.px + height = 0.px + opacity = 0 + } ".$promptClass" { width = LinearDimension.fitContent borderRightColor = fgColor @@ -47,9 +53,7 @@ object Styles : StyleSheet("DefaultConsoleStyles") { fontFamily = monospacedFont width = 100.pct height = 100.pct - pre { - fontFamily = monospacedFont - } + fontFamily = monospacedFont } } }
\ No newline at end of file |