Skip to content

Commit e434273

Browse files
committed
Format the button in the example for better visibility
1 parent 3a6308c commit e434273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring/docs/GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ window.addZone = function () {
252252
zones: [document.getElementById("zone").value]
253253
});
254254
}
255-
document.body.innerHTML += `<div><input type="text" id="zone" value="Chile/EasterIsland"><button type="button" onclick="addZone()">Add zone</button> </div>`
255+
document.body.innerHTML += `<div class="text-xl p-4 m-4 bg-gray-100 rounded-lg"><input type="text" id="zone" value="Chile/EasterIsland" class="border p-2 rounded mr-2"><button type="button" onclick="addZone()" class="bg-blue-500 text-white px-4 py-2 rounded">Add zone</button></div>`
256256
```
257257

258258
And on the server we can update our `/times` endpoint to accept a stream of data from the client by changing our parameter to be either a Flow or Flux accordingly, and then update our responses to include the newly requested zones:

0 commit comments

Comments
 (0)