chore(ui): add tailwind 4.3 and update classes (#1379)
This commit is contained in:
-8
@@ -44,14 +44,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.flex-1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flex-2 {
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@
|
||||
[rounded]="true"
|
||||
[pTooltip]="book.metadata?.title"
|
||||
tooltipPosition="top"
|
||||
[ngClass]="{ 'visible': isHovered }"
|
||||
[ngClass]="{ 'is-visible': isHovered }"
|
||||
(onClick)="openBookInfo(book)">
|
||||
</p-button>
|
||||
}
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
z-index: 2;
|
||||
|
||||
&.visible {
|
||||
&.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
@@ -261,7 +261,7 @@
|
||||
<span>{{ t('synopsis') }}</span>
|
||||
</div>
|
||||
<div class="description-body">
|
||||
<div #descriptionContent [ngClass]="{ 'line-clamp-7': !isExpanded() }"
|
||||
<div #descriptionContent [ngClass]="{ 'description-content-collapsed': !isExpanded() }"
|
||||
class="description-content">
|
||||
<div class="description-html"
|
||||
[innerHTML]="firstDescription() || t('noDescription')"></div>
|
||||
|
||||
@@ -328,11 +328,11 @@
|
||||
transition: max-height 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.description-content.line-clamp-7 {
|
||||
.description-content.description-content-collapsed {
|
||||
max-height: 37px;
|
||||
}
|
||||
|
||||
.description-content:not(.line-clamp-7) {
|
||||
.description-content:not(.description-content-collapsed) {
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user