Browse Source

Ajustement menu

Sangfroid 1 month ago
parent
commit
f7136db86b
2 changed files with 3 additions and 1 deletions
  1. 2 1
      assets/styles/app.css
  2. 1 0
      templates/_aside.html.twig

+ 2 - 1
assets/styles/app.css

@@ -73,7 +73,7 @@ body > header * {
 }
 
 .navbar .nav-links > ul > li {
-  font-size: 1.1em;
+  font-size: 2em;
 }
 
 .navbar .nav-links ul li.active a {
@@ -404,5 +404,6 @@ main h1 a:hover {
 
   .container aside {
     margin: 20px 0;
+    width: 100%;
   }
 }

+ 1 - 0
templates/_aside.html.twig

@@ -6,6 +6,7 @@
         <ul>
             {% if is_granted('ROLE_AUTHOR') %}
             <li><a href="{{ path('app_article_index') }}">Articles</a></li>
+            <hr>
             {% endif %}
             <li><a href="{{ path('app_logout') }}">Se déconnecter</a></li>
         </ul>