From 4bf313c7a8529484f7deae8ceb19df6b4f81c453 Mon Sep 17 00:00:00 2001 From: Benedict Aas Date: Tue, 17 Jan 2017 19:13:07 +0000 Subject: [PATCH] fix(gui): break and wrap bootstrap overflowing tooltip text (#1033) Instead of letting Bootstrap tooltip text overflow, allow breaks to occur in words. Closes: https://github.com/resin-io/etcher/issues/1032 Changelog-Entry: Fix text overflowing on tooltips. Change-Type: patch --- lib/gui/css/main.css | 3 +++ lib/gui/scss/modules/_bootstrap.scss | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/lib/gui/css/main.css b/lib/gui/css/main.css index e44af0d4..3aec538c 100644 --- a/lib/gui/css/main.css +++ b/lib/gui/css/main.css @@ -5976,6 +5976,9 @@ body { [uib-tooltip] { cursor: default; } +.tooltip { + word-wrap: break-word; } + /* * Copyright 2016 resin.io * diff --git a/lib/gui/scss/modules/_bootstrap.scss b/lib/gui/scss/modules/_bootstrap.scss index afe9987b..1381d388 100644 --- a/lib/gui/scss/modules/_bootstrap.scss +++ b/lib/gui/scss/modules/_bootstrap.scss @@ -35,3 +35,8 @@ body { [uib-tooltip] { cursor: default; } + +.tooltip { + word-wrap: break-word; +} +