8000 Improved how links are displayed in exception messages · symfony/symfony@a2af9a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit a2af9a9

Browse files
committed
Improved how links are displayed in exception messages
1 parent 4a0cc29 commit a2af9a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Symfony/Bundle/TwigBundle/Resources/views/exception.css.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ header .container { display: flex; justify-content: space-between; }
8484
.exception-message { flex-grow: 1; }
8585
.exception-message, .exception-message a { color: #FFF; font-size: 21px; font-weight: 400; margin: 0; }
8686
.exception-message.long { font-size: 18px; }
87-
.exception-message a { text-decoration: none; }
88-
.exception-message a:hover { text-decoration: underline; }
87+
.exception-message a { border-bottom: 1px solid rgba(255, 255, 255, 0.5); font-size: inherit; text-decoration: none; }
88+
.exception-message a:hover { border-bottom-color: #ffffff; }
8989

9090
.exception-illustration { flex-basis: 111px; flex-shrink: 0; height: 66px; margin-left: 15px; opacity: .7; }
9191

src/Symfony/Component/Debug/ExceptionHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ public function getStylesheet(FlattenException $exception)
310310
.exception-message { flex-grow: 1; padding: 30px 0; }
311311
.exception-message, .exception-message a { color: #FFF; font-size: 21px; font-weight: 400; margin: 0; }
312312
.exception-message.long { font-size: 18px; }
313-
.exception-message a { text-decoration: none; }
314-
.exception-message a:hover { text-decoration: underline; }
313+
.exception-message a { border-bottom: 1px solid rgba(255, 255, 255, 0.5); font-size: inherit; text-decoration: none; }
314+
.exception-message a:hover { border-bottom-color: #ffffff; }
315315
316316
.exception-illustration { flex-basis: 111px; flex-shrink: 0; height: 66px; margin-left: 15px; opacity: .7; }
317317

0 commit comments

Comments
 (0)
0