Skip to content

Commit 60cf67b

Browse files
committed
scrollbar in textfield if activated
1 parent 1cadb7f commit 60cf67b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
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.12",
3+
"version": "1.5.13",
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@
373373
374374
textarea {
375375
position: relative;
376-
resize: unset;
376+
resize: inherit;
377+
overflow: hidden;
377378
top: 0.1em;
378379
width: 100%;
379380
min-height: 1.3em;
@@ -385,14 +386,14 @@
385386
font-weight: 300;
386387
text-overflow: ellipsis;
387388
white-space: pre;
388-
overflow: hidden;
389389
-webkit-transition: box-shadow 0.3s;
390390
}
391391
392392
textarea:not(:disabled) {
393393
height: 2.3em;
394394
min-height: 2.3em;
395395
border-bottom: 0.5px solid #5f5f5f;
396+
overflow-y: scroll;
396397
}
397398
398399
textarea:disabled {

0 commit comments

Comments
 (0)