update text area for scrooll wheels
This commit is contained in:
@@ -70,6 +70,12 @@
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-wrap-scroll {
|
||||||
|
white-space: nowrap; /* Prevents text from breaking into new lines */
|
||||||
|
overflow-x: auto; /* Adds a horizontal scrollbar when content overflows */
|
||||||
|
width: 100%; /* Or set a specific max-width/fixed width */
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -95,7 +101,12 @@
|
|||||||
<form id="text_form" method="POST">
|
<form id="text_form" method="POST">
|
||||||
<div class="fields">
|
<div class="fields">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<textarea name="text" id="text" rows="15"></textarea>
|
<textarea
|
||||||
|
class="no-wrap-scroll"
|
||||||
|
name="text"
|
||||||
|
id="text"
|
||||||
|
rows="15"
|
||||||
|
></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="actions">
|
<ul class="actions">
|
||||||
|
|||||||
@@ -70,6 +70,12 @@
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.no-wrap-scroll {
|
||||||
|
white-space: nowrap; /* Prevents text from breaking into new lines */
|
||||||
|
overflow-x: auto; /* Adds a horizontal scrollbar when content overflows */
|
||||||
|
width: 100%; /* Or set a specific max-width/fixed width */
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -95,7 +101,12 @@
|
|||||||
<form id="text_form" method="POST">
|
<form id="text_form" method="POST">
|
||||||
<div class="fields">
|
<div class="fields">
|
||||||
<div id="table" class="field">
|
<div id="table" class="field">
|
||||||
<textarea name="text" id="text" rows="15"></textarea>
|
<textarea
|
||||||
|
class="no-wrap-scroll"
|
||||||
|
name="text"
|
||||||
|
id="text"
|
||||||
|
rows="15"
|
||||||
|
></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="actions">
|
<ul class="actions">
|
||||||
|
|||||||
Reference in New Issue
Block a user