Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar css is broken #14195

Closed
810 opened this issue Feb 23, 2017 · 7 comments
Closed

Calendar css is broken #14195

810 opened this issue Feb 23, 2017 · 7 comments

Comments

@810
Copy link
Contributor

810 commented Feb 23, 2017

Steps to reproduce the issue

Open a calendar supported extension, like for us: kunena
Then go to statistics- select calendar icon

Expected result

screenshot 4

Actual result

screenshot 3

System information (as much as possible)

Joomla! 3.7.0-rc1

Additional comments

@wilsonge
Copy link
Contributor

@dgt41

@wilsonge
Copy link
Contributor

How are you loading the calendar?

@810
Copy link
Contributor Author

810 commented Feb 23, 2017

<div class="btn-group pull-left">
	<?php echo JHtml::calendar($this->filterTimeStart, 'filter_time_start', 'filter_time_start', '%Y-%m-%d', array('class' => 'filter input-small btn-wrapper', 'placeholder' => JText::_('COM_KUNENA_STATISTICS_START_DATE'))); ?>
	<?php echo JHtml::calendar($this->filterTimeStop, 'filter_time_stop', 'filter_time_stop', '%Y-%m-%d', array('class' => 'filter input-small btn-wrapper', 'placeholder' => JText::_('COM_KUNENA_STATISTICS_END_DATE'))); ?>
</div>

@dgrammatiko
Copy link
Contributor

What happens if you remove the class input-small?

@810
Copy link
Contributor Author

810 commented Feb 23, 2017

the width is ok, but i can't see any numbers, and there is no style on the title (year ect)

@810
Copy link
Contributor Author

810 commented Feb 23, 2017

ok found the issues:

  1. missing font-size on .calendar-container table tbody td.day (C:\wamp\www\develop\media\system\css\fields\calendar.css)
  2. please convert em to px on C:\wamp\www\develop\media\system\js\fields\calendar.js and C:\wamp\www\develop\media\system\js\fields\calendar.min.js

@zero-24
Copy link
Contributor

zero-24 commented Feb 24, 2017

Closing as there is a PR: #14219

@zero-24 zero-24 closed this as completed Feb 24, 2017
rdeutz pushed a commit that referenced this issue Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants