Skip to content

Commit

Permalink
Fix exception popup word wrap. Closes 2factorauth#1353
Browse files Browse the repository at this point in the history
  • Loading branch information
dsoegijono committed Oct 5, 2015
1 parent 9575eea commit 9ca1fcb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,11 @@ td img.icon {
margin: 2em 0;
}

.ui.popup > .content {
white-space: pre-line;
word-wrap: break-word;
}

@media (min-width: 767px) {
.menu {
padding: 0 10%;
Expand Down
4 changes: 3 additions & 1 deletion js/app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
(function (root, $) {
$('.menu .dropdown').dropdown();
$('span.popup.exception').popup();
$('span.popup.exception').popup({
hoverable: true
});
$('a.popup.exception').popup();
}(window, jQuery));

Expand Down

0 comments on commit 9ca1fcb

Please sign in to comment.