removed close button on right menu. Tweaked css.

This commit is contained in:
Nils Norman Haukås 2016-01-16 18:10:11 +01:00
parent c76cafa6cc
commit 923d7af843
3 changed files with 1 additions and 12 deletions

View file

@ -85,10 +85,5 @@ module tagIt {
location.reload();
}
removeMenu() {
$('.tagit-body').children().unwrap();
$('.tagit-menu').remove();
}
}
}

View file

@ -1,12 +1,6 @@
<!-- angular menu example -->
<div id="tagit-menu" class="tagit-menu" ng-controller="MenuCtrl">
<br/>
<button ng-click="vm.removeMenu()" class="btn btn-default">
Close menu
</button>
<h2>Tag you're it</h2>
<p>Select a word to tag with a semantic tag.</p>

View file

@ -1,6 +1,7 @@
.tagit-body {
width: 70%;
position: absolute;
overflow-y: auto;
right: 0;
padding: 10px;
}
@ -9,7 +10,6 @@
position: fixed;
overflow-y: auto;
width: 30%;
left: 0;
top: 0;
bottom: 0;
padding: 10px;