Add proper container constraints to API documentation pages

- Added .container CSS rule to constrain content width to 1200px max-width
- Added auto margins for centering and 2rem side padding
- Now matches the layout constraints of dashboard and history pages
parent 15d443fb
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
{% block head %} {% block head %}
<style> <style>
.container { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.api-header { .api-header {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
color: white; color: white;
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
{% block head %} {% block head %}
<style> <style>
.container { max-width: 1200px; margin: 2rem auto; padding: 0 2rem; }
.api-header { .api-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white; color: white;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment