We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b65f1 commit b53bb4dCopy full SHA for b53bb4d
web/src/PackageInput.svelte
@@ -12,12 +12,12 @@
12
onMount(() => {
13
const rect = input.getBoundingClientRect()
14
ul.style.top = `${rect.height - 1}px`
15
- ul.style.width = `${rect.width - 2}px`
+ ul.style.width = `${rect.width}px`
16
});
17
18
function update_list_width() {
19
20
21
}
22
23
function may_complete() {
@@ -137,13 +137,14 @@
137
input {
138
padding-left: 5px;
139
padding-right: 5px;
140
- width: min(50em, 100% - 1em);
+ width: min(50em, 100%);
141
box-shadow: 0 0 4px var(--color-inactive);
142
143
input,
144
ul {
145
border-radius: 0;
146
border: 1px solid var(--color-inactive);
147
+ box-sizing: border-box;
148
149
input:focus,
150
input:focus ~ ul {
0 commit comments