Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebProfilerBundle] Small bugfix in CSS: don't make links bold. #9347

Merged
merged 3 commits into from Nov 9, 2013
Merged

[WebProfilerBundle] Small bugfix in CSS: don't make links bold. #9347

merged 3 commits into from Nov 9, 2013

Conversation

bobdenotter
Copy link
Contributor

If the CSS in your application has something like a { font-weight: bold; } to make links bold by default, they will also show up bold in the profilers toolbar, which doesn't look right. This patch explicitly sets the font-weight to 'normal', as it should be.

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

@bobdenotter
Copy link
Contributor Author

Small addition: Make sure the content in a[href]:after is empty.

@cordoval
Copy link
Contributor

cordoval commented Nov 5, 2013

👍

fabpot added a commit that referenced this pull request Nov 9, 2013
… bold. (bobdenotter)

This PR was merged into the 2.3 branch.

Discussion
----------

[WebProfilerBundle] Small bugfix in CSS: don't make links bold.

If the CSS in your application has something like `a { font-weight: bold; }` to make links bold by default, they will also show up **bold** in the profilers toolbar, which doesn't look right. This patch explicitly sets the font-weight to 'normal', as it should be.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

984566d Add media-query for printing: Do not print the toolbar.
cf1b7cf Update toolbar.css.twig
b6738b6 Set the font-weight for links to 'normal', to prevent ugly bold links.
@fabpot fabpot merged commit 984566d into symfony:2.3 Nov 9, 2013
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull request Mar 25, 2018
…e links bold. (bobdenotter)

This PR was merged into the 2.3 branch.

Discussion
----------

[WebProfilerBundle] Small bugfix in CSS: don't make links bold.

If the CSS in your application has something like `a { font-weight: bold; }` to make links bold by default, they will also show up **bold** in the profilers toolbar, which doesn't look right. This patch explicitly sets the font-weight to 'normal', as it should be.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

984566d Add media-query for printing: Do not print the toolbar.
cf1b7cf Update toolbar.css.twig
b6738b6 Set the font-weight for links to 'normal', to prevent ugly bold links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants