summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-03-20 12:58:46 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-03-20 12:58:46 +0000
commit880eff8e243d14c1cef3a603cdeb86cd1676584e (patch)
tree44dd137d758b2db595af4cdd3d96818446c30c45 /app/components
parent99bc6a5bf6fe0c5b5cada574316bee43ab4c9e5a (diff)
downloadmullvadvpn-880eff8e243d14c1cef3a603cdeb86cd1676584e.tar.xz
mullvadvpn-880eff8e243d14c1cef3a603cdeb86cd1676584e.zip
Limit number of lines displayed for city+country
Diffstat (limited to 'app/components')
-rw-r--r--app/components/Connect.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/components/Connect.css b/app/components/Connect.css
index 59c1acb8ff..5d59ba00d8 100644
--- a/app/components/Connect.css
+++ b/app/components/Connect.css
@@ -115,6 +115,10 @@
font-size: 38px;
font-weight: 900;
line-height: 1.16em;
+ max-height: calc(1.16em * 2);
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
letter-spacing: -0.9px;
color: #FFFFFF;
margin-bottom: 4px;