Skip to content

Commit

Permalink
changed how the original input is un-hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
Yair Even Or authored and Yair Even Or committed Mar 29, 2021
1 parent 6213182 commit 75b52c2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,15 @@
.disabled tags div{ display:none !important; }

.showOriginal tags + input,
.showOriginal tags + textarea{ display:block !important; width:100%; padding:6px; border:1px inset; }
.showOriginal tags + textarea{
position: initial !important;
left: 0 !important;
transform: none !important;
width:100%; padding:6px; border:2px solid #999;
margin-bottom: 1em;
border-radius: 5px;
background: #F1F1F1;
}

/* .tagify.readonlyMix > tag:not([readonly]) div::before{ background:#d3e2e2; } */

Expand Down
4 changes: 3 additions & 1 deletion test/test.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
form > section{ margin-bottom: 2em; }

.tagify+input, .tagify+textarea {
display: initial!important;
position: initial !important;
left: 0 !important;
transform: none !important;
width: 100%;
margin-top: .2em;
min-height: 11ch;
Expand Down

0 comments on commit 75b52c2

Please sign in to comment.