Dropdown Boxes Not Responding - html

All of a sudden, these 3 dropdown boxes I have on my home page stopped responding. I feel like I'm going crazy and just not able to figure it out. Code is below.
I have 3 boxes that contain tables that are revealed on click. However, they are not revealing. They should look like this when clicked.
The website is thrivematching.com if you need to check it out. It was working not too long ago, so not sure what happened. The hamburger menu (on mobile) also stop working. Seems like a joint issue, but not sure?
HTML for 3 Dropdown Tables:
<div
class="accordion mt-5"
id="scenarios"
role="tablist"
aria-multiselectable="true"
>
<div class="panel-primary mb-3">
<div class="text-white" role="tab" id="studentHeading">
<h4>
<button
class="w-100 p-4 btn-primary text-center"
data-toggle="collapse"
data-parent="#scenarios"
data-target="#student"
aria-expanded="false"
aria-controls="student"
>
<div class="d-flex justify-content-between">
<div class="col-10 text-center text-sm-left">
<span>100% Student Loan Contribution</span>
</div>
<div class="col-2 h-100 my-auto">
<span
class="symbol rounded-circle d-block ml-auto"
></span>
</div>
</div>
</button>
</h4>
</div>
<div
id="student"
class="rounded panel-collapse collapse"
role="tabpanel"
aria-labelledby="studentHeading"
>
<h5 class="text-center pt-5 mx-3">
Employer contributes <strong>$0</strong> to employee retirement
plan and <strong>$3,000</strong> to student loans annually.
</h5>
<div class="mr-3">
<table
class="table justify-content-center text-center text-white round-table mt-5 mb-2 table-responsive-sm"
>
<caption>
<span class="sr-only"
>100% Student Loan Contribution</span
>
</caption>
<thead>
<tr>
<td class="pr-4"></td>
<th scope="col">Retirement Plan</th>
<th scope="col">Student Loan</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" class="pr-4">
Employee Contributes
</th>
<td>0%</td>
<td>5% ($250/month)</td>
</tr>
<tr>
<th scope="row" class="pr-4">Employer Match</th>
<td>0%</td>
<td>5% ($250/month)</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="panel-secondary mb-3">
<div class="text-white" role="tab" id="retirementHeading">
<h4>
<button
class="w-100 p-4 btn-secondary text-center"
data-toggle="collapse"
data-parent="#scenarios"
data-target="#retirement"
aria-expanded="false"
aria-controls="retirement"
>
<div class="d-flex justify-content-between">
<div class="col-10 text-center text-sm-left">
<span>100% Retirement Plan Contribution</span>
</div>
<div class="col-2 h-100 my-auto">
<span
class="symbol rounded-circle d-block ml-auto"
></span>
</div>
</div>
</button>
</h4>
</div>
<div
id="retirement"
class="panel-collapse collapse rounded"
role="tabpanel"
aria-labelledby="retirementHeading"
>
<h5 class="text-center pt-5 mx-3">
Employer contributes <strong>$0</strong> to employee student
loans and <strong>$3,000</strong> to retirement plan annually.
</h5>
<div class="mr-3">
<table
class="table w-100 justify-content-center text-center text-white round-table mt-5 mb-2 table-responsive-sm"
>
<caption>
<span class="sr-only"
>100% Retirement Plan Contribution</span
>
</caption>
<thead>
<tr>
<td class="pr-4"></td>
<th scope="col">Retirement Plan</th>
<th scope="col">Student Loan</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" class="pr-4">
Employee Contributes
</th>
<td>5% ($250/month)</td>
<td>0%</td>
</tr>
<tr>
<th scope="row" class="pr-4">Employer Match</th>
<td>5% ($250/month)</td>
<td>0%</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="panel-support mb-3">
<div class="text-white" role="tab" id="splitHeading">
<h4>
<button
class="w-100 p-4 btn-support text-center"
data-toggle="collapse"
data-parent="#scenarios"
data-target="#split"
aria-expanded="false"
aria-controls="split"
>
<div class="d-flex justify-content-between">
<div class="col-10 text-center text-sm-left">
<span>Retirement Plan/Student Loan Split</span>
</div>
<div class="col-2 h-100 my-auto">
<span
class="symbol rounded-circle d-block ml-auto"
></span>
</div>
</div>
</button>
</h4>
</div>
<div
id="split"
class="panel-collapse collapse rounded"
role="tabpanel"
aria-labelledby="splitHeading"
>
<h5 class="text-center pt-5 mx-3">
Employer contributes <strong>$1,800</strong> to employee
retirement plan and <strong>$1,200</strong> to student loans
annually. Retirement plan contributions must be matched before
student loan contributions can be applied.
</h5>
<div class="mr-3">
<table
class="table w-100 justify-content-center text-center text-white round-table mt-5 mb-2 table-responsive-sm"
>
<caption>
<span class="sr-only"
>Retirement Plan/Student Loan Split</span
>
</caption>
<thead>
<tr>
<td class="pr-4"></td>
<th scope="col">Retirement Plan</th>
<th scope="col">Student Loan</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row" class="pr-4">
Employee Contributes
</th>
<td>3% ($150/month)</td>
<td>5% ($250/month)</td>
</tr>
<tr>
<th scope="row" class="pr-4">Employer Match</th>
<td>3% ($150/month)</td>
<td>2% ($100/month)</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>

Related

Remove a space white on bootstrap

In a code bootstrap, I wanted to go up the button towards horizontal bar.
enter image description here
<div class="separator-breadcrumb border-top"></div>
<div class="row">
<div class="col-12">
<div class="card mb-4">
<div class="card-body">
<div class="card-title d-flex align-items-center justify-content-end">
<button (click)="showPreviousYear()" *ngIf="showPreviousYearButton()" class="btn btn-primary ">
< {{previousYear}}
</button>
<button (click)="showNextYear()" *ngIf="showNextYearButton()" class="btn btn-primary mx-1">
{{nextYear}} >
</button>
</div>
<div class="table-responsive" *ngIf="lines.length > 0">
<table class="table table-striped">
<thead>
<tr>
<th scope="col" style="width: 25%;">{{'4391' | t}}</th>
<th scope="col" style="width: 25%; text-align: right;">{{'4392' | t}}</th>
<th scope="col" style="width: 25%; text-align: right;">{{'4393' | t}}</th>
<th scope="col" style="width: 25%; text-align: right;">{{'4394' | t}}</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let line of lines; let i = index">
<th style="width: 25%;">
{{line.LIBELLE}}
</th>
<td style="width: 25%; text-align: right;">
{{line.TAUX | number:'1.2-2' | mynamformatnum}} %
</td>
<td style="width: 25%; text-align: right;">
{{line.BASE | number:'1.2-2' | mynamformatnum}} EUR
</td>
<td style="width: 25%; text-align: right;">
{{line.MONTANT | number:'1.2-2' | mynamformatnum}} EUR
</td>
</tr>
</tbody>
</table>
</div>
<h5 *ngIf="lines.length == 0">
{{'4395' | t }}
</h5>
</div>
</div>
</div>
</div>
I added a class btn-top in css
<button (click)="showPreviousYear()" *ngIf="showPreviousYearButton()" class="btn btn-primary btn-top">
And
.btn-top {
position: relative;
top: -100px;
}
Now, I will want to remove the space white of the table, I don't find the class bootstrap to apply that?
enter image description here
For alignment of button, Along with the heading, give the buttons, separate them using col-6
for example
<div class="row">
<div class="col-6">
<h3 class="title">Taxes</h3>
</div>
<div class="col-6">
button
</div>
</div>
And for removing space, as you are using "bootstrap cards" which define padding which create white space so remove that by adding p-0
For example
<div class="card-header p-0">
<div class="card-body p-0">

Bootstrap rowspan not aligned from the top

I need the boxes aligned at right also vertically aligned with the first box at left, but now these boxes are only aligned with the last vertical box at the left. How can I achieve that?
starter.component.html code:
<div class="card" *ngIf="loading"><div class="card-body pt-0"><div class="k-i-loading">Carregando informaçães do dashboard...</div></div></div>
<div class="row" *ngxPermissionsOnly="['GERENTE_FINANCEIRO', 'ADMINISTRATIVO_FINANCEIRO']">
<div class="col-lg-8 col-md-8 col-sm-8">
<detalhes-titulos [titulos]="titulosDespesaData" [tipo]="DESPESA" [loading]="loading"></detalhes-titulos>
</div>
<div class="col-lg-8 col-md-8 col-sm-8">
<detalhes-titulos [titulos]="titulosDespesaData" [tipo]="DESPESA" [loading]="loading"></detalhes-titulos>
</div>
<div class="col-lg-4 col-md-4 col-sm-4">
<div *ngFor="let item of contasData" class="card col-lg-12 col-md-12 col-sm-12">
<div class="card-body">
<h6 class="text-muted m-t-10 m-b-0"><span style="background: #56c0d8;" class="lstick"></span>{{ item.nome }}</h6>
<h2 [ngClass]="{'text-info': item.saldo > 0, 'text-danger': item.saldo < 0}">{{ item.saldo | currency:'BRL':'symbol':'1.2-2':'pt' }}</h2>
</div>
</div>
</div>
</div>
starter-detalhes-titulos.component.html
<div class="col-lg-12 col-md-12 col-sm-12">
<div class="card">
<div class="card-body">
<div class="d-flex no-block">
<div>
<h4 class="card-title"><span style="background: #56c0d8;" class="lstick"></span>Títulos a {{ tipo === 0 ? 'receber' : 'pagar'}} nos próximos 10 dias</h4>
</div>
</div>
<div class="table-responsive m-t-20" *ngIf="titulos.length > 0">
<table class="table vm no-th-brd pro-of-month">
<thead>
<tr>
<th>Número</th>
<th class="text-center">Emissão</th>
<th class="text-center">Vencimento</th>
<th class="text-right">Valor</th>
</tr>
</thead>
<tbody>
<tr *ngFor="let item of titulos">
<td><span class="p-1 text-white font-weight-bold rounded small vitai-bg-color">{{ item.numero }}</span></td>
<td class="text-center">{{ item.emissao | date:"dd/MM/yyyy" }}</td>
<td class="text-center">{{ item.vencimento | date:"dd/MM/yyyy" }}</td>
<td class="text-right text-info" *ngIf="item.natureza === 0">{{ item.valor | currency:'BRL':'symbol':'1.2-2':'pt' }}</td>
<td class="text-right text-danger" *ngIf="item.natureza === 1">- {{ item.valor | currency:'BRL':'symbol':'1.2-2':'pt' }}</td>
</tr>
</tbody>
</table>
</div>
<div class="table-responsive m-t-20" *ngIf="titulos.length === 0">
<table class="table vm no-th-brd pro-of-month">
<tbody>
<tr>
<td class="text-center" *ngIf="loading">Carregando títulos a {{ tipo === 0 ? 'receber' : 'pagar'}} nos próximos dez dias.</td>
<td class="text-center" *ngIf="!loading">Nenhum título a {{ tipo === 0 ? 'receber' : 'pagar'}} encontrado nos próximos dez dias.</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
EDIT:
If I change starter.component.html code to:
<div class="card" *ngIf="loading"><div class="card-body pt-0"><div class="k-i-loading">Carregando informaçães do dashboard...</div></div></div>
<div class="row" *ngxPermissionsOnly="['GERENTE_FINANCEIRO', 'ADMINISTRATIVO_FINANCEIRO']">
<div class="col-lg-8 col-md-8 col-sm-8">
<detalhes-titulos [titulos]="titulosDespesaData" [tipo]="DESPESA" [loading]="loading"></detalhes-titulos>
</div>
<div class="col-lg-4 col-md-4 col-sm-4">
<div *ngFor="let item of contasData" class="card col-lg-12 col-md-12 col-sm-12">
<div class="card-body">
<h6 class="text-muted m-t-10 m-b-0"><span style="background: #56c0d8;" class="lstick"></span>{{ item.nome }}</h6>
<h2 [ngClass]="{'text-info': item.saldo > 0, 'text-danger': item.saldo < 0}">{{ item.saldo | currency:'BRL':'symbol':'1.2-2':'pt' }}</h2>
</div>
</div>
</div>
<div class="col-lg-8 col-md-8 col-sm-8">
<detalhes-titulos [titulos]="titulosDespesaData" [tipo]="DESPESA" [loading]="loading"></detalhes-titulos>
</div>
</div>
I get the following layout which could be almost what I want:
Now I just need the second box at left closer to the first one.
Well you need to define what you want here.
Simply putting top-left box and the bottom-left box in the 8/12 column and those little boxes on the right in the 4/12 column will fix your problem:
<div class="row">
<div class="col-sm-8">
<detalhes-titulos [titulos]="titulosDespesaData" />
<detalhes-titulos [titulos]="titulosDespesaData" />
</div>
<div class="col-sm-4">
<div *ngFor="" class="card">
...
</div>
</div>
</div>
But I don't know if that's what you want, especially you didn't define what you want for different breakpoints.

Bootstrap table formatting wrong in Chrome but correct in Firefox

I have a bootstrap table which is formatted completely correctly in Firefox but is all thrown to the right on Chrome. Any ideas?
Firefox:
Chrome:
I originally thought it might be something to do with it being within a table-responsive div but I removed that and it made no difference.
!----- UPDATE -----!
It appears to be the column sizing. If i remove that then the formatting goes back to normal but I can't control the table column sizes.
Here's the HTML:
<div class="row">
<div class="col">
<table class="table">
<tr>
<th class="col-1 text-center"><input class="form-check-input position-static" type="checkbox" id="checkAll" value="option1"></th>
<th class="col-2"><a class="text-body" href="?page={{ contacts.number }}&order_by=displayName">Name</a></th>
<th class="col-3 d-none d-lg-table-cell"><a class="text-body" href="?page={{ contacts.number }}&order_by=companyName">Organisation</a></th>
<th class="col-3 d-none d-lg-table-cell"><a class="text-body" href="?page={{ contacts.number }}&order_by=jobTitle">Job Title</a></th>
<th class="col-1 d-none d-md-table-cell"><a class="text-body" href="?page={{ contacts.number }}&order_by=profession">NSO</a></th>
<th class="col-1 d-none d-lg-table-cell"><a class="text-body" href="?page={{ contacts.number }}&order_by=lastModifiedDateTime">Last Updated</a></th>
<th class="col-1">Profile</th>
</tr>
{% if contacts %}
{% for contact in contacts %}
<tr>
<td class="col-1 text-center"><input class="form-check-input position-static" type="checkbox" id="blankCheckbox" name='selected_contact' value={{ contact.per_contact_id }}></td>
<td class="col-2">{{ contact.displayName }}</td>
<td class="col-3 d-none d-lg-table-cell">{{ contact.companyName }}</td>
<td class="col-3 d-none d-lg-table-cell">{{ contact.jobTitle }}</td>
<td class="col-1 d-none d-md-table-cell">{{ contact.profession }}</a></td>
<td class="col-1 d-none d-lg-table-cell">{{ contact.modified }}</td>
<td class="col-1"><button name="submit_button" type="submit" class="btn btn-link text-success noline" value={{ contact.per_contact_id }}>View</button></td>
</tr>
{% endfor %}
{% endif %}
</table>
</div>
</div>
I looked at the documentation for version 4 but nothing in the Layout or Table section suggests that you can use the layout classes in table cells the way you are here. In particular, the flex property isn't working on the table cells.
The first column is super wide in Chrome because all of the col-* classes have a width of 100%. In Chrome, this causes the first column to attempt to take up 100% of the space so it ends up being very wide and forcing the other columns to be narrow.
Consider adding to Bootstrap's existing width classes rather than trying to size the column with layout classes:
.w-8 {
width: 8.333%;
}
.w-16 {
width: 16.667;
}
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<table class="table">
<thead>
<tr>
<th class="text-center w-8"><input class="form-check-input position-static" type="checkbox" id="checkAll" value="option1"></th>
<th class="w-16">Name</th>
<th class="w-25 d-none d-lg-table-cell">Organization</th>
<th class="w-25 d-none d-lg-table-cell">Job Title</th>
<th class="w-8 d-none d-md-table-cell">NSO</th>
<th class="w-8 d-none d-lg-table-cell">Last Updated</th>
<th class="w-8">Profile</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center w-8"><input class="form-check-input position-static" type="checkbox" id="blankCheckbox" name='selected_contact' value=""></td>
<td class="w-16">Example Name</td>
<td class="w-25 d-none d-lg-table-cell">Example Company</td>
<td class="w-25 d-none d-lg-table-cell">Example Title</td>
<td class="w-8 d-none d-md-table-cell">Example Profession</a></td>
<td class="w-8 d-none d-lg-table-cell">MM/DD/YYY</td>
<td class="w-8"><button name="submit_button" type="submit" class="btn btn-link text-success noline" value="">View</button></td>
</tr>
</tbody>
</table>
Create the w-8 and w-16 classes, use them and the existing w-25 class to replace the col-* classes in your table. I made a runnable version without the Django code so you could see it work.
In your code have some change, you forgot to add row class and col-md-1 orcol-sm-1 etc in you column replace your code with following code
<div class="row">
<div class="col">
<table class="table">
<thead>
<tr class="row">
<th class="col-md-1 text-center"><input class="form-check-input position-static" type="checkbox"
id="checkAll" value="option1"></th>
<th class="col-md-2"><a class="text-body"
href="?page={{ contacts.number }}&order_by=displayName">Name</a></th>
<th class="col-md-3 d-none d-lg-table-cell"><a class="text-body"
href="?page={{ contacts.number }}&order_by=companyName">Organisation</a></th>
<th class="col-md-3 d-none d-lg-table-cell"><a class="text-body"
href="?page={{ contacts.number }}&order_by=jobTitle">Job Title</a></th>
<th class="col-md-1 d-none d-md-table-cell"><a class="text-body"
href="?page={{ contacts.number }}&order_by=profession">NSO</a></th>
<th class="col-md-1 d-none d-lg-table-cell"><a class="text-body"
href="?page={{ contacts.number }}&order_by=lastModifiedDateTime">Last Updated</a></th>
<th class="col-md-1">Profile</th>
</tr>
</thead>
<tbody>
{% if contacts %}
{% for contact in contacts %}
<tr class="row">
<td class="col-md-1 text-center"><input class="form-check-input position-static" type="checkbox"
id="blankCheckbox" name='selected_contact' value={{ contact.per_contact_id }}></td>
<td class="col-md-2"><a href="mailto:?bcc={{ contact.emailAddresses.0.address }}"
class="text-primary">{{ contact.displayName }}</a></td>
<td class="col-md-3 d-none d-lg-table-cell">{{ contact.companyName }}</td>
<td class="col-md-3 d-none d-lg-table-cell">{{ contact.jobTitle }}</td>
<td class="col-md-1 d-none d-md-table-cell">{{ contact.profession }}</a></td>
<td class="col-md-1 d-none d-lg-table-cell">{{ contact.modified }}</td>
<td class="col-md-1"><button name="submit_button" type="submit"
class="btn btn-link text-success noline" value={{ contact.per_contact_id }}>View</button></td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
</div>
</div>
if it work let me know
As BSMP says, it looks like chrome doesn't play well when you add col classes to tables. So I just used a bit of custom css instead:
.w5 {
width: 5%;
}
.w10 {
width: 10%;
}
.w15 {
width: 15%;
}
.w20 {
width: 20%;
}
.w25 {
width: 25%;
}
.w30 {
width: 30%;
}

Bootstrap : Vertically center row in container [duplicate]

This question already has answers here:
Vertical Align Center in Bootstrap 4 [duplicate]
(20 answers)
Closed 3 years ago.
i'm trying to vertically center a row which contains a card, I tried all solutions in this question's solution Vertical Align Center in Bootstrap 4
but absolutely nothing happens.
Here is my html code :
<div class="row h-100">
<mat-progress-spinner id="loader" style="top: 50%; left: 47%; transform: translate(-50%, -50%); position:absolute; z-index: 1;" *ngIf="showLoading"
[color]="color"
[mode]="mode">
</mat-progress-spinner>
<div class="col-sm-12 my-auto">
<div *ngIf="app" class="card card-block shadow text-center mx-auto">
<div class="card-header">
<h1>{{app.name | uppercase}}</h1>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">Micro Service</th>
<th scope="col">Status</th>
<th scope="col">Actions</th>
<th scope="col">Settings</th>
</tr>
<tbody>
<tr *ngFor="let ms of app.microservices">
<td style="width: 25%" class="align-middle" id="msname">{{ms.name}}</td>
<td style="width: 25%" class="align-middle">
<img *ngIf="(isContainerRunning | async)" src="../../../assets/img/running.png" width="50px" height="50px" matTooltipPosition="right" matTooltip="Running">
<img *ngIf="!(isContainerRunning | async)" src="../../../assets/img/exited.png" width="50px" height="50px" matTooltipPosition="right" matTooltip="Exited">
</td>
<td style="width: 25%" class="align-middle">
<a (click)="start(ms.name)"><img src="../../../assets/img/start.png" height="50px" width="50px" class="settings mx-auto" appSelector></a>
<a (click)="stop(ms.name)"><img src="../../../assets/img/stop.png" height="50px" width="50px" class="settings mx-auto" appSelector></a>
<a (click)="restart(ms.name)"><img src="../../../assets/img/restart.png" height="50px" width="50px" class="settings mx-auto" appSelector></a>
</td>
<td style="width: 25%" class="align-middle">
<button (click)="redirect(ms_url)" id="backbtn">edit</button>
</td>
</tr>
<tr>
<td colspan="4" class="text-center align-middle"><button (click)="back()" id="backbtn">back</button></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
ps : this is an angular project so the container is in another component here is the container tag :
<div class="container-fluid h-100">
<div [#routeAnimations]="prepareRoute(outlet)">
<router-outlet #outlet="outlet"></router-outlet>
</div>
</div>
It seems like "my-auto" and every single other solutions has no impact on my card position.
EDIT :
i'm using angular material sidenav which is configured in main app.component.html like, not sure if it changes anything tho :
<mat-sidenav-container>
<mat-sidenav mode="side" opened (mouseenter)="toggleMenu()" (mouseleave)="toggleMenu()">
<table class="w-100 mx-auto text-center">
<tr>
<td>
<img src="../assets/img/logo.png" width="60px" class="py-2 px-2 my-3" id="logoaxians">
</td>
</tr>
<tr>
<td>
<a routerLink="/applications" routerLinkActive="active" matTooltipPosition="right" matTooltip="Applications"><img src="../assets/img/dashboard.png" width="43px" class="py-2 px-2 icons"></a>
</td>
</tr>
</table>
<table class="w-100 mx-auto text-center" id="bottomnav">
<tr>
<td>
<a routerLink="/help" routerLinkActive="active" mat-raised-button matTooltipPosition="right" matTooltip="Help"><img src="../assets/img/help.png" width="50px" class="py-2 px-2 icons"></a>
</td>
</tr>
</table>
</mat-sidenav>
<mat-sidenav-content>
<div class="container-fluid vh-100">
<div [#routeAnimations]="prepareRoute(outlet)">
<router-outlet #outlet="outlet"></router-outlet>
</div>
</div>
</mat-sidenav-content>
</mat-sidenav-container>
Thanks for your help.
try this :
<div class="container-fluid h-100">
<div [#routeAnimations]="prepareRoute(outlet)" class="h-100">
<router-outlet #outlet="outlet"></router-outlet>
</div>
</div>

Creating advanced layout - Flexbox or Table

I was trying to take an exercise and create an advanced layout as shown below.
After I came up with two solutions I started to wonder what is the best solution for creating such a layout.
Would you use flex display or table display? Would you consider using bootstrap or not? What should I consider when choosing one over the other in this case? Also taking in consideration devices with smaller resolution, for example 800px or less.
Here are my implementations:
Flex implementation:
<div class="container p-0">
<div class="d-flex flex-row bd-highlight">
<div class="flex-grow-1 bd-highlight">
<div class="mt-3 ml-3">
#C0000028524
</div>
</div>
<div class="flex-grow-10 bd-highlight d-flex long-title-container">
<div class="mt-3 long-title">
<p class="long-title mb-0 fs-5">
Context menu shows wrong language
</p>
</div>
</div>
<div class="flex-grow-1 bd-highlight text-secondary">last updated</div>
</div>
<div class="d-flex flex-row bd-highlight">
<div class="flex-grow-1 bd-highlight mlm-1">
<img src="open.png" />
</div>
<div class="flex-grow-10 bd-highlight d-flex long-title-container"><p class="long-title">Context menu shows wrong language</p></div>
<div class="flex-grow-1 bd-highlight text-secondary">last updated</div>
</div>
</div>
Link to the flex implementation: https://jsfiddle.net/7d512swt/
And here is my table implementation:
<div class="table-responsive">
<table class="table">
<tbody>
<tr>
<th scope="row">
<div class="mt-3 ml-3">
#C0000028524
</div>
</th>
<td>
<p class="long-title mb-0 fs-5">
Context menu shows wrong language
</p>
</td>
<td>last updated</td>
</tr>
<tr>
<th scope="row">2</th>
<td><img src="open.png" /></td>
<td><p class="long-title">Context menu shows wrong language</p></td>
<td>last updated</td>
</tr>
</tbody>
</table>
</div>
Link to the table implementation:
https://jsfiddle.net/auv08hdq/