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

Bug: search input overflow in small screens in Bootstrap #14

Open
Ana06 opened this issue Nov 29, 2018 · 2 comments
Open

Bug: search input overflow in small screens in Bootstrap #14

Ana06 opened this issue Nov 29, 2018 · 2 comments

Comments

@Ana06
Copy link

Ana06 commented Nov 29, 2018

I am using Bootstrap 4 and jquery-datatables 1.10.19.1. I have the following code:

<div class='row'>
  <div class='col-12 col-md-4 col-lg-3'>
    <!-- Content -->
  </div>

</div>
<div class='col-12 col-md-8 col-lg-9'>

  <table class='table table-striped table-bordered' id='involved-packages-table'>
    <thead>
      <tr>
        <th>Package</th>
        <th>Project</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>
          <a href="/package/show/hola:Ana/ikyuikyuhkl">ikyuikyuhkl</a>
        </td>
        <td>
          <a href="/project/show/hola:Ana">hola:Ana</a>
        </td>
      </tr>
    </tbody>
  </table>
</div>

Which in an screen of 950px looks like:
image

It seems the problem is the width in the input, which comes from this code:

This may be related: DataTables/Plugins#110

@mkhairi
Copy link
Owner

mkhairi commented Dec 5, 2018

hi @Ana06, you should include dataTables.bootstrap4.scss instead for bootstrap4.

@Ana06
Copy link
Author

Ana06 commented Feb 7, 2019

@mkhairi That's the one I have included. Maybe my guess why this is happening is wrong, but the issue is still there.

This is my stylesheets/webui2/datatables.scss file: https://github.com/openSUSE/open-build-service/blob/master/src/api/app/assets/stylesheets/webui2/datatables.scss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants