jquery-notebook icon indicating copy to clipboard operation
jquery-notebook copied to clipboard

Design issue with bootstrap

Open kamov opened this issue 10 years ago • 3 comments

There is a design issue with bootstrsap, check screnshot:

screen shot 2014-07-02 at 13 23 44

the buttons are not aligned, and are not on top of selected text.

for fix button alignment, I add:

.jquery-notebook.bubble button { margin-top:0 }

but not sure how to fix that buttons appear on top of selected text.

kamov avatar Jul 02 '14 11:07 kamov

This is more likely an issue with the fact that css transforms are being used to place the bubble. If you checkout the stable branch of my fork, I re-designed the placement algorithm to better tolerate the edges of the page and to be more reliable. Sorry for the fork plug, but I have put in many PR's here to fix issues and none of them have been accepted.

timcosta avatar Jul 02 '14 11:07 timcosta

Hi @tjsail33
Thanks for reply. I try use your fork, but the issue are the similar (a bit different but similar):

screen shot 2014-07-04 at 14 26 47

kamov avatar Jul 04 '14 12:07 kamov

If it still is of any help, .jquery-notebook.bubble button { margin-top: 0 !important; } solves the problem.

florenthobein avatar Dec 28 '14 22:12 florenthobein