Cecília Regina Cecília Regina - 17 days ago 5
AngularJS Question

Buttons out of place (POPUP) ionic

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 that's how it looks like:

enter image description here

Answer

stupid error, my css. I got it working, thanks anyway.