fix: app card height while no edit access for user (#5230)

* fix: app card height while no edit access for user

* fix: firefox fix pagination width
This commit is contained in:
Gandharv 2023-01-09 18:11:32 +05:30 committed by GitHub
parent cd37623f05
commit b84d7687b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 5 deletions

View file

@ -100,8 +100,8 @@ export default function AppCard({
</h3>
</ToolTip>
</div>
{canUpdate && (
<div>
<div className="app-creation-time-container">
{canUpdate && (
<div className="app-creation-time mute-text" data-cy="app-creation-time">
<ToolTip message={app.created_at && moment(app.created_at).format('dddd, MMMM Do YYYY, h:mm:ss a')}>
<span>{updated === 'just now' ? `Edited ${updated}` : `Edited ${updated} ago`}</span>
@ -109,8 +109,8 @@ export default function AppCard({
&nbsp;by{' '}
{`${app.user?.first_name ? app.user.first_name : ''} ${app.user?.last_name ? app.user.last_name : ''}`}
</div>
</div>
)}
)}
</div>
<Fade visible={focused} className="row mt-2">
{canUpdate && (
<div className="col-6">

View file

@ -7285,7 +7285,8 @@ tbody {
.home-page-footer {
position: fixed;
bottom: 0px;
width: -webkit-fill-available;
right: 0;
left: 336px; //48+288
}
.pagination-container {
@ -7390,6 +7391,13 @@ tbody {
height: 52px;
}
.homepage-app-card {
height: 188px;
}
.app-creation-time-container {
height: 16px;
}
.release-buttons {
height: 45px;
margin-bottom: 10px;