style: fix journal entry action buttons alignment on mobile
This commit is contained in:
@@ -1939,6 +1939,21 @@ html.scheme-dark .themed-select-option.is-selected {
|
|||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logbook-card-right-group {
|
||||||
|
margin-left: auto;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
align-self: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logbook-card-right-group .logbook-card-chevron {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.logbook-card .logbook-title-editable,
|
.logbook-card .logbook-title-editable,
|
||||||
.logbook-card .logbook-title-inline-edit,
|
.logbook-card .logbook-title-inline-edit,
|
||||||
.logbook-card .card-title-row {
|
.logbook-card .card-title-row {
|
||||||
@@ -2968,6 +2983,12 @@ html.scheme-dark .themed-select-option.is-selected {
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.logbook-card-right-group .btn-pdf,
|
||||||
|
.logbook-card-right-group .btn-delete {
|
||||||
|
position: static;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.card-meta {
|
.card-meta {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -541,17 +541,17 @@ export default function LogEntriesList({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ChevronRight size={18} className="logbook-card-chevron" aria-hidden />
|
<div className="logbook-card-right-group">
|
||||||
|
<button className="btn-pdf" onClick={(e) => handleDownloadPdf(item.id, item.date, e)} title={t('logs.export_pdf')} disabled={exporting}>
|
||||||
<button className="btn-pdf" onClick={(e) => handleDownloadPdf(item.id, item.date, e)} title={t('logs.export_pdf')} disabled={exporting}>
|
<Download size={18} />
|
||||||
<Download size={18} />
|
|
||||||
</button>
|
|
||||||
|
|
||||||
{!readOnly && (
|
|
||||||
<button className="btn-delete" onClick={(e) => handleDelete(item.id, e)} title={t('logs.delete_entry')}>
|
|
||||||
<Trash2 size={18} />
|
|
||||||
</button>
|
</button>
|
||||||
)}
|
{!readOnly && (
|
||||||
|
<button className="btn-delete" onClick={(e) => handleDelete(item.id, e)} title={t('logs.delete_entry')}>
|
||||||
|
<Trash2 size={18} />
|
||||||
|
</button>
|
||||||
|
)}
|
||||||
|
<ChevronRight size={18} className="logbook-card-chevron" aria-hidden />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user