From 0c11a0220160ed064bbbb11f897b34dc20b33283 Mon Sep 17 00:00:00 2001 From: Guilherme Ferreira Date: Wed, 17 Aug 2022 10:36:57 +0200 Subject: [PATCH] "Creating Pages" not responsive I noticed that while reading this page on my mobile device (a Samsung Galaxy S22), the content was not fully responsive, which was quite annoying to scroll horizontally to read. While debugging this issue, I figure out that removing the "table" element under the `The bin/console Command` section resolved the problem (~ not entirely sure why). I am proposing displaying the console output of the command `php bin/console debug:router` as a terminal block. --- page_creation.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/page_creation.rst b/page_creation.rst index 5d82850d410..0faa564560e 100644 --- a/page_creation.rst +++ b/page_creation.rst @@ -165,11 +165,13 @@ To get a list of *all* of the routes in your system, use the ``debug:router`` co You should see your ``app_lucky_number`` route in the list: -================== ======== ======== ====== =============== -Name Method Scheme Host Path -================== ======== ======== ====== =============== -app_lucky_number ANY ANY ANY /lucky/number -================== ======== ======== ====== =============== +.. code-block:: terminal + + ---------------- ------- ------- ----- -------------- + Name Method Scheme Host Path + ---------------- ------- ------- ----- -------------- + app_lucky_number ANY ANY ANY /lucky/number + ---------------- ------- ------- ----- -------------- You will also see debugging routes besides ``app_lucky_number`` -- more on the debugging routes in the next section.