Skip to content

Commit

Permalink
feat: adjust input button layout in server panel for improved usability
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Dec 13, 2024
1 parent 1e69009 commit 5567d76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions zenoh-ts/examples/chat/assets/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ body {

.input-buttons {
width: 100px;
height: 100%;
margin-right: 20px; /* Add margin inside input group */
box-sizing: border-box; /* Include padding and border in element's total width and height */
}
Expand Down
8 changes: 4 additions & 4 deletions zenoh-ts/examples/chat/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
<body>
<div class="chat-container">
<div class="server-panel">
<div class="input-buttons">
<button id="connect-button">Connect</button>
<button id="disconnect-button" style="display: none;">Disconnect</button>
</div>
<div class="input-username">
<label for="username">Username</label>
<input type="text" id="username" value="Jean Dupont">
Expand All @@ -27,6 +23,10 @@
<label for="server-port">Port</label>
<input type="text" id="server-port" value="10000">
</div>
<div class="input-buttons">
<button id="connect-button">Connect</button>
<button id="disconnect-button" style="display: none;">Disconnect</button>
</div>
</div>
<div class="main-panel">
<div class="user-list">
Expand Down

0 comments on commit 5567d76

Please sign in to comment.