File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 21.0.0-beta-002 - 2024-06-19
4
+
5
+ ### Changed
6
+ * Shrink API docs example heading font size a bit. [ #923 ] ( https://github.com/fsprojects/FSharp.Formatting/pull/923 )
7
+ * Improve overall API doc content alignment consistency in various scenarios. [ #923 ] ( https://github.com/fsprojects/FSharp.Formatting/pull/923 )
8
+
3
9
## 21.0.0-beta-001 - 2024-06-06
4
10
5
11
### Added
Original file line number Diff line number Diff line change @@ -1083,6 +1083,22 @@ span[onmouseout] {
1083
1083
display : flex;
1084
1084
flex-direction : column;
1085
1085
justify-content : flex-start;
1086
+
1087
+ > * {
1088
+ margin : var (--spacing-200 ) 0 var (--spacing-200 ) var (--spacing-300 );
1089
+
1090
+ & : first-child : is (.icon-button-row ) {
1091
+ margin-block : 0 ;
1092
+ }
1093
+
1094
+ & : nth-child (2 ) {
1095
+ margin-top : 0 ;
1096
+ }
1097
+
1098
+ & : last-child {
1099
+ margin-bottom : 0 ;
1100
+ }
1101
+ }
1086
1102
}
1087
1103
1088
1104
.icon-button-row {
@@ -1099,8 +1115,6 @@ span[onmouseout] {
1099
1115
counter-increment : list-item 0 ;
1100
1116
list-style : disclosure-closed outside;
1101
1117
cursor : pointer;
1102
- width : calc (100% - var (--spacing-300 ));
1103
- margin-left : var (--spacing-300 );
1104
1118
1105
1119
> .fsdocs-summary {
1106
1120
display : flex;
@@ -1127,9 +1141,13 @@ span[onmouseout] {
1127
1141
margin-bottom : var (--spacing-200 );
1128
1142
}
1129
1143
1130
- . fsdocs-returns , . fsdocs-params {
1144
+ & details > * {
1131
1145
margin : var (--spacing-200 ) 0 var (--spacing-200 ) var (--spacing-300 );
1132
1146
1147
+ & : is (summary ) {
1148
+ margin-block : 0 ;
1149
+ }
1150
+
1133
1151
& : first-child {
1134
1152
margin-top : 0 ;
1135
1153
}
@@ -1147,6 +1165,10 @@ span[onmouseout] {
1147
1165
margin : var (--spacing-200 ) 0 ;
1148
1166
}
1149
1167
1168
+ .fsdocs-example-header {
1169
+ font-size : var (--font-200 );
1170
+ }
1171
+
1150
1172
> div .fsdocs-summary {
1151
1173
display : flex;
1152
1174
flex-direction : row;
You can’t perform that action at this time.
0 commit comments