twinssbc / Ionic-Calendar

A calendar directive for Ionic framework
http://twinssbc.github.io/Ionic-Calendar/demo
MIT License
159 stars 73 forks source link

style is missed up when adding tags directly before calendar tag #162

Closed alkahtani closed 7 years ago

alkahtani commented 7 years ago

I face an issue when adding any HTML tags the calendar style get missing , the events shown behind the calendar , i tried also to extend nav-bar height the calendar is hiding behind the nav-bar image

image

any idea to be able to add HTML tags without getting the calendar style and appearance missed up, i am using ionic 1

twinssbc commented 7 years ago

@alkahtani This is because by default the margin-top of the event detail section is set to fixed 262px as below. You could adjust the margin-top according to the element height added before the calendar.

.event-detail-container {
    margin-top: 262px;
}
alkahtani commented 7 years ago

@twinssbc many thanks , this is fix the issue , it can be closed now . appreciate your help