diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-07-27 22:15:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-27 22:15:40 +0300 |
commit | 0fad850c579848e65259664a97e354c7ae94b6ee (patch) | |
tree | 1bb9393d0bf31ed0b1f67ac4147bf2c9d2e21005 | |
parent | 8f035baf642b2c15c5506b198b7f5cbcbb0a3faf (diff) |
Improve visitor profile styles, so nothing collapses when zooming in/out (#16240)
* Improve visitor profile styles, so nothing collapses when zooming in/out
* remove max-width
* updates expected ui files
10 files changed, 24 insertions, 21 deletions
diff --git a/plugins/Live/stylesheets/visitor_profile.less b/plugins/Live/stylesheets/visitor_profile.less index d8e0ccbd12..0fd91fb8fd 100644 --- a/plugins/Live/stylesheets/visitor_profile.less +++ b/plugins/Live/stylesheets/visitor_profile.less @@ -135,8 +135,13 @@ vertical-align: top; height: auto; border: none; - box-sizing: content-box; + box-sizing: border-box; float: left; + width: 50%; + + & > * { + box-sizing: content-box; + } body:not(.widgetized) .widget & { width: 100%; @@ -167,7 +172,6 @@ margin: 0; border-right: 1px solid #d1cec8; padding: 22px 0 0 22px; - width: 553px; body:not(.widgetized) .widget & { padding: 0 10px; @@ -177,7 +181,6 @@ .visitor-profile-visits-info { margin: 28px 0 0 -1px; border-left: 1px solid #d1cec8; - width: 574px; } .visitor-profile-header { @@ -342,7 +345,7 @@ color: @theme-color-text; cursor: pointer; background-color: @color-silver-l95; - margin-right: 2px; + margin-right: 1px; &:hover { background-color: #bfbfbf; diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile.png index 465c57a732..7070d76dd8 100644 --- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile.png +++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0fd576f89fd7139b2b99cc3d74bb53a24a1eb504367345147e872eb3683e4d7d -size 420703 +oid sha256:8952938d4c532b2fe34821364298e46ebf21b68c88926656e48272d9bf374bd4 +size 420215 diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png index 2e6ba484f6..783f7685a2 100644 --- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png +++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_action_details.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4157f3c20d56c69196f6c26e238deec778af0c8deccab2789fb908a72ab60ccf -size 295467 +oid sha256:fe9f48b0b6785c4f6625e8d405ee3aaa8f857e0829829d3c86783274818dc078 +size 295009 diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png index 14602039ba..ea87b3205b 100644 --- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png +++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_actions_hidden.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a86335642665ca83cc69bd8959ee4a008b49685fac4c27f395af3a881c06459b -size 261466 +oid sha256:6a060b87796ea807a87ab599bd12917f2ee739c87967475df979eff9eba902f2 +size 260948 diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_limited.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_limited.png index aef56d4c49..ffe57afdd5 100644 --- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_limited.png +++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_limited.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:634cf1607afff06b53f8271a396609f99007b6f232b3180737f18134f002c59d -size 311307 +oid sha256:3f03c42023e4d26de7688dd68bdf44748ecd86d93441dfee3610450cb1c4cc0c +size 311582 diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_more_visits.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_more_visits.png index 5b96cd2aab..0cfe7a7aff 100644 --- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_more_visits.png +++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_more_visits.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9ad04b14e25cde7e7f652ed85062234c5262bb69ee5fdcac4db60ef73e480e00 -size 446995 +oid sha256:4c6fb1e5dbe4a6e6d258dcedbe79f24d21a1c1fee428b6c3b60e78d47362f76d +size 446512 diff --git a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png index 784fa33af7..5b857f5b85 100644 --- a/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png +++ b/plugins/Live/tests/UI/expected-screenshots/Live_visitor_profile_visit_details.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2f5dd1cac6c258501d45b1b453894d3c6c7cb2d99fd031b895ab48e3deb0c2dc -size 271129 +oid sha256:cf657f966e96feb8618c290c8aa78f90ee9979b081acac74cbf472410ee4d63e +size 270587 diff --git a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png index 7e904b8d80..59e91e914f 100644 --- a/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png +++ b/plugins/PrivacyManager/tests/UI/expected-screenshots/PrivacyManager_gdpr_tools_visits_showprofile.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:100c7c3791623f94f6d62c30bbcd283d4a11638bd0cbe9ff2fb9b00bc6bc6690 -size 332325 +oid sha256:c81e63c275f373f10c5d490f59c83d48512030890f456f82ed1db51d35856fcb +size 331621 diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_visitor_profile_not_segmented.png b/tests/UI/expected-screenshots/UIIntegrationTest_visitor_profile_not_segmented.png index bbed9ab17d..a31b0898ed 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_visitor_profile_not_segmented.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_visitor_profile_not_segmented.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:379402cf22ac4e5fa7fca616e1cabc88415599e011dae64d5851508ceee53212 -size 524686 +oid sha256:33d42f704f722c7ff1308d771877cb8ee2b3bd814cbc9af3bbca50217195a7cf +size 524230 diff --git a/tests/UI/expected-screenshots/UIIntegrationTest_visitor_profile_popup.png b/tests/UI/expected-screenshots/UIIntegrationTest_visitor_profile_popup.png index 2b26a68aef..067d14740a 100644 --- a/tests/UI/expected-screenshots/UIIntegrationTest_visitor_profile_popup.png +++ b/tests/UI/expected-screenshots/UIIntegrationTest_visitor_profile_popup.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fffd72d004eb7b2776cbdb87f08db2b960f3512574fd8f80b3a107e01f9cdca0 +oid sha256:a51241ce90878a7217f3b8abf2ba1692cee30f63086ee396e60c6d9e8e51d5ac size 184664 |