Skip to content

Commit 0c11a02

Browse files
githubfromguixabbuh
authored andcommitted
"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.
1 parent 4927f53 commit 0c11a02

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

page_creation.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,13 @@ To get a list of *all* of the routes in your system, use the ``debug:router`` co
165165
166166
You should see your ``app_lucky_number`` route in the list:
167167

168-
================== ======== ======== ====== ===============
169-
Name Method Scheme Host Path
170-
================== ======== ======== ====== ===============
171-
app_lucky_number ANY ANY ANY /lucky/number
172-
================== ======== ======== ====== ===============
168+
.. code-block:: terminal
169+
170+
---------------- ------- ------- ----- --------------
171+
Name Method Scheme Host Path
172+
---------------- ------- ------- ----- --------------
173+
app_lucky_number ANY ANY ANY /lucky/number
174+
---------------- ------- ------- ----- --------------
173175
174176
You will also see debugging routes besides ``app_lucky_number`` -- more on
175177
the debugging routes in the next section.

0 commit comments

Comments
 (0)