web_kalk text cursor when hovering input field

This commit is contained in:
PaddiM8 2021-01-05 01:38:56 +01:00
parent 51ef0d8e8f
commit 8b8ebec500
3 changed files with 10 additions and 9 deletions

View File

@ -38,12 +38,12 @@ I am not aware of a better way.
The colours in the component can be changed by using these attributes. The colours in the component can be changed by using these attributes.
```html ```html
<kalk-calculator <kalk-calculator
hintText="Type something..." hinttext="Type something..."
identifierColor="cornflowerblue" identifiercolor="cornflowerblue"
operatorColor="darkorange" operatorcolor="darkorange"
promptColor="mediumseagreen" promptcolor="mediumseagreen"
errorColor="tomato" errorcolor="tomato"
hintColor="#9c9c9c" hintcolor="#9c9c9c"
linkColor="cornflowerblue" linkcolor="cornflowerblue"
backgroundColor="#424242" /> backgroundcolor="#424242" />
``` ```

View File

@ -1,6 +1,6 @@
{ {
"name": "@paddim8/kalk-component", "name": "@paddim8/kalk-component",
"version": "1.0.2", "version": "1.0.4",
"description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.", "description": "A Svelte component for kalk, a calculator that supports user-defined functions and variables.",
"svelte": "src/main.ts", "svelte": "src/main.ts",
"main": "public/build/bundle.js", "main": "public/build/bundle.js",

View File

@ -279,6 +279,7 @@
width: 100%; width: 100%;
color: white; color: white;
word-wrap: anywhere; word-wrap: anywhere;
cursor: text;
&:focus { &:focus {
outline: none; outline: none;