My buttons inside the popup are out of place, does anyone know why?
Here’s the code
$scope.playVideo = function(src, sinal) {
var video = '<video width="100%" height="100%" src="' + src +
'" loop autoplay="autoplay" ></video>';
popup.popup = $ionicPopup.show({
template: video,
cssClass: 'no-title',
scope: $scope,
buttons: [{
text: 'fechar',
type: 'button-assertive'
}, {
text: 'responder',
type: 'button-positive',
onTap: function(e) {
popup.sinal = sinal;
}
}]
})
And thats how it looks like: