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 11# Changelog
22
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+
39## 21.0.0-beta-001 - 2024-06-06
410
511### Added
Original file line number Diff line number Diff line change @@ -1083,6 +1083,22 @@ span[onmouseout] {
10831083 display : flex;
10841084 flex-direction : column;
10851085 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+ }
10861102 }
10871103
10881104 .icon-button-row {
@@ -1099,8 +1115,6 @@ span[onmouseout] {
10991115 counter-increment : list-item 0 ;
11001116 list-style : disclosure-closed outside;
11011117 cursor : pointer;
1102- width : calc (100% - var (--spacing-300 ));
1103- margin-left : var (--spacing-300 );
11041118
11051119 > .fsdocs-summary {
11061120 display : flex;
@@ -1127,9 +1141,13 @@ span[onmouseout] {
11271141 margin-bottom : var (--spacing-200 );
11281142 }
11291143
1130- . fsdocs-returns , . fsdocs-params {
1144+ & details > * {
11311145 margin : var (--spacing-200 ) 0 var (--spacing-200 ) var (--spacing-300 );
11321146
1147+ & : is (summary ) {
1148+ margin-block : 0 ;
1149+ }
1150+
11331151 & : first-child {
11341152 margin-top : 0 ;
11351153 }
@@ -1147,6 +1165,10 @@ span[onmouseout] {
11471165 margin : var (--spacing-200 ) 0 ;
11481166 }
11491167
1168+ .fsdocs-example-header {
1169+ font-size : var (--font-200 );
1170+ }
1171+
11501172 > div .fsdocs-summary {
11511173 display : flex;
11521174 flex-direction : row;
You can’t perform that action at this time.
0 commit comments