Skip to content

Commit

Permalink
invalid input change
Browse files Browse the repository at this point in the history
when invalid input is given show error message.

made it more responsive
  • Loading branch information
ProjectsAndPrograms committed Aug 30, 2024
1 parent 26559be commit 0af6a0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ document.addEventListener('DOMContentLoaded', function () {
if(window.innerWidth <= 430){
setOrientation();
}

setSizeIndicator();
window.addEventListener('resize', setSizeIndicator);

Expand Down
5 changes: 5 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ nav li:first-child{
user-select: none;
}


.horizontal #first {
width: 50%;
height: 100% !important;
Expand All @@ -334,6 +335,7 @@ nav li:first-child{
.horizontal #second {
width: 50%;
height: 100% !important;
overflow: hidden;
}
.vertical #first {
height: 50%;
Expand All @@ -343,6 +345,7 @@ nav li:first-child{
.vertical #second {
height: 50%;
width: 100% !important;
overflow: hidden;
}

.splitter #first textarea{
Expand Down Expand Up @@ -381,6 +384,7 @@ nav li:first-child{
align-items: center;
flex-direction: column;
justify-content: center;
margin: 0px 20px;
}
.error_display .icon-box .bi{
font-size: 90px;
Expand All @@ -390,6 +394,7 @@ nav li:first-child{
.error_display .message{
margin-top: 10px;
font-size: 20px;
text-wrap: nowrap;
color: var(--warning);
}

Expand Down

0 comments on commit 0af6a0d

Please sign in to comment.