1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-26 03:06:49 +02:00
market/src/components/@shared/Page/PageHeader.module.css
mihaisc 6ea0e46840
Fix long title (#1606)
* slice title in teaser

* title tweaks

* remove dotdotdot
2022-07-28 18:34:34 +03:00

35 lines
543 B
CSS

.header {
margin-bottom: var(--spacer);
max-width: 50rem;
}
.title {
font-size: var(--font-size-h3);
margin-top: 0;
margin-bottom: 0;
display: inline-flex;
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
hyphens: auto;
}
@media (min-width: 40rem) {
.title {
font-size: var(--font-size-h2);
}
}
.description {
font-size: var(--font-size-large);
margin-top: calc(var(--spacer) / 4);
margin-bottom: 0;
}
.center {
margin-left: auto;
margin-right: auto;
text-align: center;
}