1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-15 01:28:30 +00:00

Fix title height in row modal

This commit is contained in:
Davide Silvestri 2024-02-08 12:56:28 +00:00
parent add07241d0
commit 755be0dcf6
4 changed files with 23 additions and 7 deletions
changelog/entries/unreleased/bug
web-frontend/modules
core/assets/scss/components
database/components/row

View file

@ -0,0 +1,7 @@
{
"type": "bug",
"message": "Adjusted the title height in the row modal to accommodate long text.",
"issue_number": 2334,
"bullet_points": [],
"created_at": "2024-02-06"
}

View file

@ -1,5 +1,10 @@
.row_modal__title {
height: 49px;
min-height: 29px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.row-modal__field-list {

View file

@ -1,9 +1,11 @@
<template>
<Modal ref="modal">
<form @submit.prevent="create">
<h2 class="box__title row_modal__title">
{{ heading }}
</h2>
<div class="box__title">
<h2 class="row_modal__title">
{{ heading }}
</h2>
</div>
<Error :error="error"></Error>
<RowEditModalFieldsList
:primary-is-sortable="primaryIsSortable"

View file

@ -37,9 +37,11 @@
</a>
</template>
</div>
<h2 class="box__title row_modal__title">
{{ heading }}
</h2>
<div class="box__title">
<h2 class="row_modal__title">
{{ heading }}
</h2>
</div>
<RowEditModalFieldsList
:primary-is-sortable="primaryIsSortable"
:fields="visibleFields"