Correction width 100%

This commit is contained in:
2025-01-28 21:47:11 +01:00
parent 9f450fc72d
commit 6f35e80bc2
3 changed files with 26 additions and 25 deletions

View File

@ -2,4 +2,3 @@
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
//

View File

@ -3,7 +3,10 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta lang="fr"> <meta lang="fr">
<title>{% block title %}Bienvenue!{% endblock %}</title> <title>
{% block title %}Bienvenue!
{% endblock %}
</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>"> <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
{% block stylesheets %} {% block stylesheets %}
{{ encore_entry_link_tags('app') }} {{ encore_entry_link_tags('app') }}
@ -13,9 +16,8 @@
{{ encore_entry_script_tags('app') }} {{ encore_entry_script_tags('app') }}
{% endblock %} {% endblock %}
</head> </head>
<body> <body class="w-full">
<div class="container"> <div class="w-full"> {% block body %}{% endblock %}
{% block body %}{% endblock %}
</div> </div>
</body> </body>
</html> </html>

View File

@ -1,9 +1,9 @@
{% extends 'base.html.twig' %} {% extends 'base.html.twig' %}
{% block title %}BookNest{% endblock %} {% block title %}BookNest
{% endblock %}
{% block body %} {% block body %}
<div class="w-100"> <div class="w-full">
<h1 class="border text-center font-bold text-3xl text-red-700 ">Bienvenue sur BookNest 📚</h1> <h1 class="border text-center font-bold text-3xl text-red-700 w-full">Bienvenue sur BookNest 📚</h1>
</div> </div>
{% endblock %} {% endblock %}