Skip to content

Commit 069875d

Browse files
committed
Tweak css
1 parent 3e2399f commit 069875d

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

scaladoc-testcases/src/tests/hugetype.scala

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ import compiletime.ops.int._
55
import scala.annotation.experimental
66

77
/**
8-
* type
9-
*
10-
* noun
11-
*
128
* a particular group of people or things that share similar characteristics and form a smaller division of a larger set:
139
* - There were so many different types of bread that I didn't know which to buy.
1410
* - What type of clothes does she wear?
@@ -38,3 +34,9 @@ type Take[T <: Tuple, N <: Int] <: Tuple = N match {
3834
@experimental
3935
@deprecated
4036
implicit transparent inline def same[A](a: A): A = ???
37+
38+
trait Parent[X, A[_], B[_, _]]
39+
40+
trait HugeTrait[X] extends Parent[X, HugeTrait, Map]
41+
42+
trait EvenBiggerTrait[X, Y] extends Parent[X, Seq, EvenBiggerTrait]

scaladoc/resources/dotty_res/styles/scalastyle.css

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ th {
262262
padding-left: calc(1.015 * var(--side-width));
263263
padding-right: calc(0.15 * var(--side-width));
264264
box-sizing: border-box;
265+
text-decoration: none;
265266
}
266267

267268
#sideMenu2 a span:not(.micon) {
@@ -582,13 +583,12 @@ footer .mode {
582583

583584
.documentableElement .modifiers {
584585
display: table-cell;
585-
padding-right: 0.5em;
586586
min-width: 10em;
587587
max-width: 10em;
588588
width: 10em;
589589
overflow: hidden;
590-
direction: rtl;
591-
white-space: nowrap;
590+
text-align: right;
591+
white-space: break-spaces;
592592
text-indent: 0em;
593593
}
594594

@@ -611,7 +611,6 @@ footer .mode {
611611

612612
.documentableElement.expand .modifiers {
613613
display: table-cell;
614-
min-width: 7em;
615614
}
616615

617616
.documentableElement .signature {
@@ -622,6 +621,11 @@ footer .mode {
622621

623622
.signature.monospace {
624623
padding: 8px;
624+
display: flex;
625+
}
626+
627+
.signature.monospace .modifiers {
628+
white-space: break-spaces;
625629
}
626630

627631
.signature a, .signature a:visited, .signature span[data-unresolved-link] {
@@ -648,10 +652,6 @@ footer .mode {
648652
display: table;
649653
}
650654

651-
.documentableElement>div {
652-
display: block;
653-
}
654-
655655
.expand.documentableElement>div.header {
656656
display: inline-table;
657657
}
@@ -664,10 +664,6 @@ footer .mode {
664664
display: block;
665665
}
666666

667-
.doc {
668-
margin-left: 6.5em;
669-
}
670-
671667
.doc code {
672668
padding: 0;
673669
}
@@ -682,6 +678,7 @@ footer .mode {
682678
}
683679
.documentableElement .annotations {
684680
color: var(--grey600);
681+
margin-left: 10em;
685682
display: none;
686683
}
687684

0 commit comments

Comments
 (0)