Skip to content

Commit 0e7af5f

Browse files
committed
minor #17544 [WebProfilerBundle] Don't inherit CSS text-transform property for the toolbar. (adamelso)
This PR was submitted for the master branch but it was merged into the 2.8 branch instead (closes #17544). Discussion ---------- [WebProfilerBundle] Don't inherit CSS text-transform property for the toolbar. | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | When the `body` element has the CSS rule `text-transform: uppercase`, this is also applied to the toolbar. We could add a style to prevent that from happening but would mean the CSS is now writing rules for a framework's dev tools. Given the information in the toolbar may be case-sensitive, best thing to prevent text transformations by explicitly declaring `text-transform: none`. ![symfony-toolbar-very-shouty](https://cloud.githubusercontent.com/assets/5972864/12579702/cdaebcf4-c421-11e5-8300-e858f85beb26.png) Commits ------- fce0af0 [WebProfilerBundle] Don't inherit CSS text-transform property for the toolbar.
2 parents 60f60bb + fce0af0 commit 0e7af5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
position: fixed;
4646
right: 0;
4747
text-align: left;
48+
text-transform: none;
4849
z-index: 99999;
4950
}
5051
.sf-toolbarreset abbr {

0 commit comments

Comments
 (0)