diff --git a/src/index-angular-app.html b/src/index-angular-app.html index ca3751c..aa8ab54 100644 --- a/src/index-angular-app.html +++ b/src/index-angular-app.html @@ -4,9 +4,11 @@ This will be an iframe programmatically included into a parent page. + + - -
+ +

diff --git a/src/menu/menu.controller.ts b/src/menu/menu.controller.ts index 59e1878..bc2095d 100644 --- a/src/menu/menu.controller.ts +++ b/src/menu/menu.controller.ts @@ -42,14 +42,14 @@ module tagIt { onSenseSelect(sense: ISense) { //remove all tags so that new tag range is serialized - //based on a document without any highlights + //based on a document without any highlights this.webPageService.removeAllTagsFromPage(() => { //initialize and save the new tag var senseTag = this.webPageService.initializeNewTag(sense); this.tagStorageService.saveTag(senseTag); this.backendService.sendTaggedDataToServer(senseTag); - //re-add tags, with new tag. Clear menu options. + //re-add tags, with new tag. Clear menu options. this.webPageService.readdTagsToPage( this.tagStorageService.loadTags() ); diff --git a/src/style.css b/src/style.css index 4b8cf51..3fdb54d 100644 --- a/src/style.css +++ b/src/style.css @@ -9,23 +9,14 @@ position: fixed; overflow-y: auto; width: 30%; - height: 100%; - top: 0; left: 0; - bottom: 0; - background-color: #ccc; padding: 10px; } +.tagit-iframe, .tagit-menu { - position: fixed; - overflow-y: auto; - width: 30%; - top: 0; - left: 0; - bottom: 0; background-color: #ccc; - padding: 10px; + height: 100%; } .tagit-menu ul {