mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #21386 from overleaf/jel-gallery-related-tags
[web] Use standard badge link CSS on related tags GitOrigin-RevId: 6efe8add61e677c83fc3983cf7a7c9a1ac95b33c
This commit is contained in:
parent
f91f423ae4
commit
597551859e
2 changed files with 5 additions and 13 deletions
|
@ -122,5 +122,6 @@ $max-width: 160px;
|
||||||
gap: var(--spacing-05);
|
gap: var(--spacing-05);
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -364,9 +364,7 @@
|
||||||
|
|
||||||
.related-tags {
|
.related-tags {
|
||||||
margin-top: var(--spacing-09);
|
margin-top: var(--spacing-09);
|
||||||
padding: 0 var(--spacing-05);
|
max-height: 61px;
|
||||||
gap: var(--spacing-05);
|
|
||||||
max-height: 60px;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
&.all-tags {
|
&.all-tags {
|
||||||
|
@ -376,17 +374,10 @@
|
||||||
// when Show More is clicked
|
// when Show More is clicked
|
||||||
min-height: 102px;
|
min-height: 102px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.tag-badge {
|
.badge-link {
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-link {
|
|
||||||
text-decoration: none;
|
|
||||||
color: inherit;
|
|
||||||
|
|
||||||
@include body-sm;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.show-more-tags {
|
.show-more-tags {
|
||||||
|
|
Loading…
Reference in a new issue