Skip to content

Commit

Permalink
Fixed documentation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankoppier committed Nov 26, 2024
1 parent 9cd183a commit 02093a9
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 17 deletions.
29 changes: 25 additions & 4 deletions website/src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1309,10 +1309,6 @@ strong {
}
}
.header__logo {
display: inline-flex;
}
.header__logo img,
.header__logo svg {
block-size: 2rem;
display: inline-flex;
inline-size: auto;
Expand Down Expand Up @@ -1647,6 +1643,31 @@ strong {
display: flex;
}

table {
overflow-x: auto;
max-width: 95%;
display: block;
width: fit-content;
margin-left: auto;
margin-right: auto;
--spruce-line-height: 1.5;
--spruce-padding: 1rem;
--spruce-responsive-inline-size: 40rem;
border-collapse: collapse;
color: var(--spruce-table-color-text);
}
table td {
border-block-end: 1px solid var(--spruce-table-color-border);
line-height: var(--spruce-line-height);
padding: var(--spruce-padding);
}
table th {
text-align: left;
color: var(--spruce-table-color-heading);
text-align: -webkit-match-parent;
padding: var(--spruce-padding);
}

.toc > * {
margin-block-end: 0;
margin-block-start: 0;
Expand Down
8 changes: 0 additions & 8 deletions website/src/posts/object-mapping/posts/built-in.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,13 @@ The following integer mappers are built-in
| *BigInteger* | | | | | - | |
| *BigDecimal* | | | | | | - |

{.table-matrix}

The following floating point mappers are built-in

| | Float | Double | *BigDecimal* |
|--------------|-------|--------|---------------|
| Float | - | X | X |
| Double | | - | X |

{.table-matrix}

There also exist a mapper for all numeric types to `String`.

## Char Mappers
Expand All @@ -45,8 +41,6 @@ The following char mappers are built-in
|--------|------|--------|
| Char | - | X |

{.table-matrix}

## LocalDate Mappers
The following numeric mappers are built-in

Expand All @@ -62,5 +56,3 @@ The following UUID mappers are built-in
| | *UUID* | String |
|--------|--------|--------|
| *UUID* | - | X |

{.table-matrix}
27 changes: 27 additions & 0 deletions website/src/scss/component/_post-content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,30 @@
display: flex;
}
}

table {
overflow-x: auto;
max-width: 95%;
display: block;
width: fit-content;
margin-left: auto;
margin-right: auto;
--spruce-line-height: 1.5;
--spruce-padding: 1rem;
--spruce-responsive-inline-size: 40rem;
border-collapse: collapse;
color: var(--spruce-table-color-text);

td {
border-block-end: 1px solid var(--spruce-table-color-border);
line-height: var(--spruce-line-height);
padding: var(--spruce-padding);
}

th {
text-align: left;
color: var(--spruce-table-color-heading);
text-align: -webkit-match-parent;
padding: var(--spruce-padding);
}
}
5 changes: 0 additions & 5 deletions website/src/scss/section/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,9 @@
}

&__logo {
display: inline-flex;

img,
svg {
block-size: 2rem;
display: inline-flex;
inline-size: auto;
}
}

&__toggle {
Expand Down

0 comments on commit 02093a9

Please sign in to comment.