File tree Expand file tree Collapse file tree 2 files changed +26
-19
lines changed
Expand file tree Collapse file tree 2 files changed +26
-19
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ To be released.
2828 - On profile page, images are no more captioned using ` <figcaption> ` but
2929 use only ` alt ` attribute for accessibility. [[ #99 ] , [ #100 ] by Okuto Oyama]
3030
31+ - Fixed a style bug where horizontal scrolling occurred when the screen
32+ size was reduced when there were many custom fields on profile page.
33+ [[ #106 ] by Okuto Oyama]
34+
3135 - Added ` ALLOW_HTML ` environment variable to allow raw HTML inside Markdown.
3236 This is useful for allowing users to use broader formatting options outside
3337 of Markdown, but to avoid XSS attacks, it is still limited to a subset of
@@ -38,6 +42,7 @@ To be released.
3842[ #103 ] : https://github.com/fedify-dev/hollo/issues/103
3943[ #104 ] : https://github.com/fedify-dev/hollo/issues/104
4044[ #105 ] : https://github.com/fedify-dev/hollo/pull/105
45+ [ #106 ] : https://github.com/fedify-dev/hollo/pull/106
4146[ `GET /api/v1/mutes` ] : https://docs.joinmastodon.org/methods/mutes/#get
4247[ `GET /api/v1/blocks` ] : https://docs.joinmastodon.org/methods/blocks/#get
4348
Original file line number Diff line number Diff line change @@ -52,25 +52,27 @@ export function Profile({ accountOwner }: ProfileProps) {
5252 { /* biome-ignore lint/security/noDangerouslySetInnerHtml: no xss */ }
5353 < div dangerouslySetInnerHTML = { { __html : bioHtml } } />
5454 { account . fieldHtmls && (
55- < table >
56- < thead >
57- < tr >
58- { Object . keys ( account . fieldHtmls ) . map ( ( key ) => (
59- < th > { key } </ th >
60- ) ) }
61- </ tr >
62- </ thead >
63- < tbody >
64- < tr >
65- { Object . values ( account . fieldHtmls ) . map ( ( value ) => (
66- < td
67- // biome-ignore lint/security/noDangerouslySetInnerHtml: no xss
68- dangerouslySetInnerHTML = { { __html : value } }
69- />
70- ) ) }
71- </ tr >
72- </ tbody >
73- </ table >
55+ < div class = "overflow-auto" >
56+ < table >
57+ < thead >
58+ < tr >
59+ { Object . keys ( account . fieldHtmls ) . map ( ( key ) => (
60+ < th > { key } </ th >
61+ ) ) }
62+ </ tr >
63+ </ thead >
64+ < tbody >
65+ < tr >
66+ { Object . values ( account . fieldHtmls ) . map ( ( value ) => (
67+ < td
68+ // biome-ignore lint/security/noDangerouslySetInnerHtml: no xss
69+ dangerouslySetInnerHTML = { { __html : value } }
70+ />
71+ ) ) }
72+ </ tr >
73+ </ tbody >
74+ </ table >
75+ </ div >
7476 ) }
7577 </ div >
7678 ) ;
You can’t perform that action at this time.
0 commit comments