From 5b61330793572f27cf4da987b6ff7116ea3f7899 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 14 Apr 2017 23:40:50 +0200 Subject: [PATCH] Add line breaks in buttons so text isn't cut --- docs/installguide/release_notes.rst | 2 ++ kalite/cli.py | 2 +- .../static/css/distributed/bootstrap-overrides.less | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/installguide/release_notes.rst b/docs/installguide/release_notes.rst index 1ca660a9c1..99e6902a16 100644 --- a/docs/installguide/release_notes.rst +++ b/docs/installguide/release_notes.rst @@ -22,6 +22,8 @@ Bug fixes * Print server address after ``kalite start`` :url-issue:`5441` * Log everything from automatic initialization in ``kalite start`` and ``kalite manage setup`` :url-issue:`5408` * Remove unused Django package installed in ``kalite/packages/dist`` :url-issue:`5419` + * Add line breaks in buttons so text isn't cut :url-issue:`5004` + Known issues ^^^^^^^^^^^^ diff --git a/kalite/cli.py b/kalite/cli.py index 0e9a6e8f60..20a6e56a2f 100644 --- a/kalite/cli.py +++ b/kalite/cli.py @@ -334,7 +334,7 @@ def get_pid(): listen_port = port or DEFAULT_LISTEN_PORT - # Timeout is 1 second, we don't want the status command to be slow + # Timeout is 3 seconds, we don't want the status command to be slow conn = httplib.HTTPConnection("127.0.0.1", listen_port, timeout=3) try: conn.request("GET", PING_URL) diff --git a/kalite/distributed/static/css/distributed/bootstrap-overrides.less b/kalite/distributed/static/css/distributed/bootstrap-overrides.less index 6d1dea0458..99ceeaadb2 100644 --- a/kalite/distributed/static/css/distributed/bootstrap-overrides.less +++ b/kalite/distributed/static/css/distributed/bootstrap-overrides.less @@ -292,6 +292,10 @@ form .input-group { /* =================================== Buttons =================================== */ +.btn +{ + white-space: normal; +} .btn-success { background-color: @k-accent-color !important;