Skip to content

Commit d6dcc2b

Browse files
committed
fix large text scrolling in textfield
1 parent ddea619 commit d6dcc2b

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-generic-crud-table",
3-
"version": "1.5.10",
3+
"version": "1.5.11",
44
"description": "<crud-table> renders object-arrays with options-panel and inline edit per row. Dispatches events for ongoing data handling. As self-containing webcomponent or for Svelte in 60KB",
55
"main": "dist/build/crud-table.js",
66
"module": "dist/build/crud-table.mjs",

src/SvelteGenericCrudTable.svelte

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,12 @@
267267
</main>
268268

269269
<style>
270+
main {
271+
position: fixed;
272+
display: table;
273+
padding-top:0.4em;
274+
}
275+
270276
.red:hover {
271277
fill: red;
272278
fill-opacity: 80%;
@@ -282,14 +288,6 @@
282288
fill-opacity: 80%;
283289
}
284290
285-
h3 {
286-
color: #5f5f5f;
287-
font-size: 0.85em;
288-
font-weight: 200;
289-
margin-left: 1.4em;
290-
text-align: left;
291-
}
292-
293291
table {
294292
text-align: left;
295293
border-collapse: collapse;
@@ -375,7 +373,7 @@
375373
376374
textarea {
377375
position: relative;
378-
resize: none;
376+
resize: unset;
379377
top: 0.1em;
380378
width: 100%;
381379
min-height: 1.3em;

0 commit comments

Comments
 (0)