Skip to content

Commit

Permalink
Fix the cursor issue & use auto width for the input box.
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ver committed May 17, 2024
1 parent 890d1f0 commit a8dc405
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/resources/themes/smalltalk.view
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@
width: intrinsic; /* Safari/WebKit uses a non-standard name */
width: -moz-max-content; /* Firefox/Gecko */
width: -webkit-max-content; /* Chrome */
width: max-content;
display: inline;
width: auto;
/* display: inline; */
font-style: Consolas;
font-family: monospace;
--caret-color: transparent;
Expand Down Expand Up @@ -964,7 +964,6 @@
<div class="pad">
<div class="text">
<div contenteditable="true" id="text"></div>
<div id="cursor">I</div>
</div>
<span class="arrowbox">
<b class="arrow arrowline"></b>
Expand Down

0 comments on commit a8dc405

Please sign in to comment.