Expand API test response to full container width
Move JSON response display outside the max-w-md form container so API results use the full available width instead of being constrained to the narrow form width.
This commit is contained in:
parent
39bc7e3eaa
commit
8a8e16aaba
1 changed files with 42 additions and 42 deletions
|
|
@ -686,10 +686,11 @@ defmodule AprsmeWeb.ApiDocsLive do
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Error Display -->
|
<!-- Error Display -->
|
||||||
<%= if @error do %>
|
<%= if @error do %>
|
||||||
<div class="rounded-md bg-red-50 p-4 dark:bg-red-500/10 mt-4">
|
<div class="rounded-md bg-red-50 p-4 dark:bg-red-500/10 mt-4 max-w-md">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|
@ -735,7 +736,6 @@ defmodule AprsmeWeb.ApiDocsLive do
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Contact and Support -->
|
<!-- Contact and Support -->
|
||||||
<div class="bg-white shadow-sm sm:rounded-lg dark:bg-gray-800/50 dark:shadow-none dark:outline dark:-outline-offset-1 dark:outline-white/10">
|
<div class="bg-white shadow-sm sm:rounded-lg dark:bg-gray-800/50 dark:shadow-none dark:outline dark:-outline-offset-1 dark:outline-white/10">
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue