Skip to content

Commit

Permalink
style(links): Add nobreak to links in the editor so toolips are alway…
Browse files Browse the repository at this point in the history
…s accessible (#449)
  • Loading branch information
Garth Poitras authored and bantic committed Aug 5, 2016
1 parent 2ceb39d commit b75bb7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/css/editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
font-family: 'Lora', Georgia, serif;
margin: 1em 0;
color: #454545;
/*
Chrome bug adds inline styles when backspacing to join 2 blocks.
/*
Chrome bug adds inline styles when backspacing to join 2 blocks.
Fix: Apply font styles to parent element, or use % for font-size, line-height.
http://stackoverflow.com/questions/15015019/prevent-chrome-from-wrapping-contents-of-joined-p-with-a-span
*/
Expand All @@ -31,6 +31,7 @@
}
.__mobiledoc-editor a {
color: @themeColorText;
white-space: nowrap;
}
.__mobiledoc-editor {
h1, h2, h3, h4, h5, h6 {
Expand Down

0 comments on commit b75bb7d

Please sign in to comment.