mirror of
https://github.com/safing/web
synced 2025-09-10 15:37:00 +00:00
Add safingTailwind-1.2
This commit is contained in:
parent
c54798ddd1
commit
abd2fd25e8
15 changed files with 267698 additions and 1 deletions
15
vendor/safingTailwind/docs/js/internal/preview.js
vendored
Normal file
15
vendor/safingTailwind/docs/js/internal/preview.js
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
$(".preview-panel-left").resizable({
|
||||
handleSelector: ".preview-panel-splitter",
|
||||
resizeHeight: false,
|
||||
});
|
||||
|
||||
var i = 0, timeOut = 0;
|
||||
|
||||
$(".preview-container").hover(function () {
|
||||
iframe = $(this).parent().find( ".iframe" );
|
||||
timeOut = setInterval(function(){
|
||||
iframe.height((iframe.contents().find('html').height()) + 'px')
|
||||
}, 10);
|
||||
}, function () {
|
||||
clearInterval(timeOut);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue