Fix portfolio page on mobile
This commit is contained in:
parent
c5929d569e
commit
43eb083270
|
|
@ -125,6 +125,6 @@ describe('Projects page', () => {
|
|||
cy.visit('/portfolio');
|
||||
|
||||
cy.getByDataCy('page-title').should('exist');
|
||||
cy.getByDataCy('create-project-button').should('not.be.visible');
|
||||
cy.getByDataCy('create-project-button').should('not.exist');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -23,7 +23,10 @@
|
|||
Hier können Sie Projekte erstellen, um Ihre Gedanken festzuhalten oder Ihre Arbeit zu dokumentieren.
|
||||
</p>
|
||||
|
||||
<create-project-button data-cy="create-project-button-onboarding" />
|
||||
<create-project-button
|
||||
class="portfolio-onboarding__create-button"
|
||||
data-cy="create-project-button-onboarding"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -59,5 +62,12 @@ export default {
|
|||
&__text {
|
||||
@include onboarding-text;
|
||||
}
|
||||
|
||||
&__create-button {
|
||||
display: none;
|
||||
@include desktop {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue