diff options
| author | Haishan <[email protected]> | 2020-09-05 00:02:53 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-09-08 23:15:04 +0800 |
| commit | 702169941e6956aa8f3b727ffe59a7bd6676c346 (patch) | |
| tree | cbac8bb16592229b0499ab43a646df3bc67e0a2c /src/components/Field.module.css | |
| parent | 64ea28607a2077ac503cdb507d80632ba56e22f6 (diff) | |
refactor: use api base url instead of hostname and port
Diffstat (limited to 'src/components/Field.module.css')
| -rw-r--r-- | src/components/Field.module.css | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/Field.module.css b/src/components/Field.module.css index ec0b306..9a5f1e4 100644 --- a/src/components/Field.module.css +++ b/src/components/Field.module.css @@ -4,7 +4,6 @@ input { -webkit-appearance: none; background-color: transparent; - /* background-color: var(--color-input-bg); */ background-image: none; border: none; border-radius: 0; @@ -15,7 +14,7 @@ font-size: inherit; height: 40px; outline: none; - padding: 0 8px; + padding: 0 4px; transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1); width: 100%; &:focus { @@ -25,10 +24,11 @@ label { position: absolute; - left: 8px; + left: 5px; bottom: 22px; transition: transform 150ms ease-in-out; transform-origin: 0 0; + font-size: 0.9em; &.floatAbove { transform: scale(0.75) translateY(-25px); } |
