diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-07-13 18:15:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-13 18:15:36 +0300 |
commit | c42a44a39e475d54e4a7feb084e44719d26101b7 (patch) | |
tree | 024de43a3a0ed758d7cd5ff829b9083b474fd31f /plugins | |
parent | c79bec8155e06515ea2c31d46b9683e03945bf81 (diff) |
Fix word-breaking for long menu items (Firefox) (#11750)
* Break words for long items in menu
* fix typo
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreHome/stylesheets/layout.less | 1 | ||||
-rw-r--r-- | plugins/Goals/Widgets/AddNewGoal.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CoreHome/stylesheets/layout.less b/plugins/CoreHome/stylesheets/layout.less index 4d03fdbc3a..dac9dd0925 100644 --- a/plugins/CoreHome/stylesheets/layout.less +++ b/plugins/CoreHome/stylesheets/layout.less @@ -173,6 +173,7 @@ nav { padding: 12px 21px 12px 19px; color: @theme-color-menu-contrast-text; decoration: none !important; + word-wrap: break-word; word-break: break-word; &:hover, &:focus { diff --git a/plugins/Goals/Widgets/AddNewGoal.php b/plugins/Goals/Widgets/AddNewGoal.php index c1207cde37..91e68595b7 100644 --- a/plugins/Goals/Widgets/AddNewGoal.php +++ b/plugins/Goals/Widgets/AddNewGoal.php @@ -34,7 +34,7 @@ class AddNewGoal extends \Piwik\Widget\Widget if (Piwik::isUserHasAdminAccess($idSite)) { $config->setName('Goals_AddNewGoal'); } else { - $config->setName('Goals_CreateNewGOal'); + $config->setName('Goals_CreateNewGoal'); } if (count($goals) !== 0) { |