Skip to content

Commit

Permalink
Merge pull request #4 from GerrGIT/header-menu-fix
Browse files Browse the repository at this point in the history
Header menu mobile fix
  • Loading branch information
nehakadam committed Sep 10, 2016
2 parents 35f0ea1 + aa95e3c commit feeba3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/calenstyle.css
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,6 @@

.cContHeaderSections
{
height: 45px;
line-height: 45px;

text-align: center;
vertical-align: top;
}
Expand Down Expand Up @@ -564,6 +561,7 @@
.cContHeaderMenuSections
{
display: inline-block;
padding-bottom:10px;
}

.cContHeaderMenuSections li
Expand Down
4 changes: 2 additions & 2 deletions src/calenstyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2469,9 +2469,9 @@ CalenStyle.prototype = {
iCalendarContHeight = $occCalendarContInner.outerHeight();

if(iCalendarContWidth > 410 || iCalendarContHeight > 410)
$(to.elem).find(".cContHeader, .cContHeaderSections, .cContHeaderDatePickerIcon, .cContHeaderFullscreen, .cContHeaderNavButton").css({"height": 45, "line-height": 45+"px"});
$(to.elem).find(".cContHeader, .cContHeaderDatePickerIcon, .cContHeaderFullscreen, .cContHeaderNavButton").css({"height": 45, "line-height": 45+"px"});
else
$(to.elem).find(".cContHeader, .cContHeaderSections, .cContHeaderDatePickerIcon, .cContHeaderFullscreen, .cContHeaderNavButton").css({"height": 45, "line-height": 45+"px"});
$(to.elem).find(".cContHeader, .cContHeaderDatePickerIcon, .cContHeaderFullscreen, .cContHeaderNavButton").css({"height": 45, "line-height": 45+"px"});
},

//--------------------------------- Header Related Functions End ---------------------------------
Expand Down

0 comments on commit feeba3c

Please sign in to comment.