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

Misplaced align when using d-xx-block on tables #107

Closed
dotdeas opened this issue Jun 17, 2021 · 1 comment
Closed

Misplaced align when using d-xx-block on tables #107

dotdeas opened this issue Jun 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@dotdeas
Copy link

dotdeas commented Jun 17, 2021

When I use class "d-none d-md-block" in a table the lines the misplaced align. See screenshot below. Tried Safari, Chrome and Edge browsers on desktop and Safari on iOS, all with the same issue.

<table class="table table-striped">
	<thead>
		<tr>
			<th>Namn</th>
			<th>Kontotyp</th>
			<th>Status</th>
			<th class="d-none d-md-block text-end">Senaste inloggning</th>
			<th class="text-end">&nbsp;</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>Andreas Persson</td>
			<td><span class="badge badge-secondary-light">Administratör</span></td>
			<td><span class="badge badge-success-light">Aktiv</span></td>
			<td class="d-none d-md-block text-end">2021-03-19 13:37</td>
			<td class="table-action text-end">
				<a data-bs-toggle="offcanvas" href="#edituser" role="button" aria-controls="edituser" onclick="document.getElementById('eu-name').focus();"><i class="align-middle" data-feather="edit-2"></i></a>
				<a href="#"><i class="align-middle" data-feather="lock"></i></a>
				<a href="#"><i class="align-middle" data-feather="trash"></i></a>
			</td>
		</tr>
	</tbody>
</table>

Running AdminKit 3.0.2

image

@dotdeas dotdeas added the bug Something isn't working label Jun 17, 2021
@paullaros
Copy link
Contributor

Hello Andreas, try using d-md-table-cell instead of d-md-block on your table cell. Closing this issue for now, if you have any questions, please shoot us an email at support@adminkit.io.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants