Fix qtip viewport overflow.
The qtips under the permissons was overflowing left of the screen and only half of the text was readable. To activate position.adjust.method plugin, I added the viewport option. Also changed default adjust method to shift instead of flip.
This commit is contained in:
Родитель
2c161a8dd4
Коммит
44b4904814
|
@ -20,7 +20,7 @@ class Choosealicense
|
|||
qtip_position:
|
||||
my: "top center"
|
||||
at: "bottom center"
|
||||
|
||||
viewport: $(window)
|
||||
# Annotation rule types as defined in `_config.yml`
|
||||
ruletypes:
|
||||
permissions: "Permission"
|
||||
|
|
|
@ -1924,7 +1924,7 @@ QTIP.defaults = {
|
|||
mouse: TRUE,
|
||||
scroll: TRUE,
|
||||
resize: TRUE,
|
||||
method: 'flipinvert flipinvert'
|
||||
method: 'shift shift'
|
||||
},
|
||||
effect: function(api, pos, viewport) {
|
||||
$(this).animate(pos, {
|
||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Загрузка…
Ссылка в новой задаче