mirror of
https://github.com/PR0M3TH3AN/text_splitter.git
synced 2025-09-08 23:38:43 +00:00
update
This commit is contained in:
@@ -69,6 +69,9 @@
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around; /* Align links evenly */
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
nav a {
|
nav a {
|
||||||
color: #ffffff; /* Dark mode nav link color */
|
color: #ffffff; /* Dark mode nav link color */
|
||||||
|
@@ -69,6 +69,9 @@
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around; /* Align links evenly */
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
nav a {
|
nav a {
|
||||||
color: #ffffff; /* Dark mode nav link color */
|
color: #ffffff; /* Dark mode nav link color */
|
||||||
@@ -97,7 +100,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
function splitText() {
|
function splitText() {
|
||||||
const text = document.getElementById('inputText').value;
|
const text = document.getElementById('inputText').value.trim();
|
||||||
const maxChunkSize = 150;
|
const maxChunkSize = 150;
|
||||||
const chunks = [];
|
const chunks = [];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user