From 830bc28aed2dba345c6b4d219a261f02475e69cc Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Tue, 5 May 2015 08:58:42 -0700 Subject: [PATCH] Improvements to latest visitors table --- sass/_project-sass/_project-Main.scss | 6 +++++- views/stats_mockup.erb | 12 +++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index 4c8929d6..8b4bfccc 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -1888,7 +1888,7 @@ table#latest-visitors { td { white-space: nowrap; - text-overflow: ellipsis; + max-width: 0; } span { display: block; @@ -1898,6 +1898,10 @@ table#latest-visitors { font-weight: bold; font-size: 1.2em; } + .paths { + overflow: hidden; + text-overflow: ellipsis; + } } #earth_div { width: 100%; diff --git a/views/stats_mockup.erb b/views/stats_mockup.erb index 373b49e0..8bee1aa3 100644 --- a/views/stats_mockup.erb +++ b/views/stats_mockup.erb @@ -89,7 +89,7 @@ 7:11PM - 4/27/15 - /index, /links, /art + /index, /links, /art, /music, /about @@ -112,6 +112,16 @@ /index, /about + + + Hong Kong, China + Google search + + + 7:11PM - 4/27/15 + /index, /links, /art, /music, /tech, /about + + Hong Kong, China