resolved some styling issues. Plugin seem to handle being inserted into possibly hostile css environments much better.
This commit is contained in:
parent
1fb288f583
commit
c4558dfac0
2 changed files with 17 additions and 11 deletions
|
@ -8,6 +8,11 @@ $.get(chrome.extension.getURL('index-angular-app.html'), function (htmlData) {
|
|||
iframeMainContent.id = 'tagit-body';
|
||||
iframeMainContent.className = 'tagit-body';
|
||||
iframeMainContent.src = window.location.href;
|
||||
iframeMainContent.seamless = 'seamless';
|
||||
iframeMainContent.frameBorder = "0";
|
||||
|
||||
//add a helper class to aid in styling later.
|
||||
$('html').addClass('tagit-top-wrapper');
|
||||
|
||||
//empty the page
|
||||
$('body').children().remove();
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
.tagit-body {
|
||||
width: 70%;
|
||||
position: absolute;
|
||||
overflow-y: auto;
|
||||
right: 0;
|
||||
padding: 10px;
|
||||
.tagit-top-wrapper,
|
||||
.tagit-top-wrapper > body,
|
||||
.tagit-top-wrapper > body > iframe {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
html.tagit-top-wrapper {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tagit-iframe {
|
||||
position: fixed;
|
||||
overflow-y: auto;
|
||||
width: 30%;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.tagit-body {
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.tagit-iframe,
|
||||
|
|
Loading…
Reference in a new issue