mirror of
https://github.com/aljazceru/nostr-relay-registry.git
synced 2025-12-17 22:24:24 +01:00
break words (because onion URLs are too big and they break the layout).
This commit is contained in:
13
main.js
13
main.js
@@ -82,7 +82,18 @@ const App = {
|
|||||||
h('tr', [h('th'), h('th', 'connect'), h('th', 'read'), h('th', 'write')]),
|
h('tr', [h('th'), h('th', 'connect'), h('th', 'read'), h('th', 'write')]),
|
||||||
...this.relays.map(url =>
|
...this.relays.map(url =>
|
||||||
h('tr', [
|
h('tr', [
|
||||||
h('th', {style: {textAlign: 'right'}}, url),
|
h(
|
||||||
|
'th',
|
||||||
|
{
|
||||||
|
style: {
|
||||||
|
textAlign: 'right',
|
||||||
|
whiteSpace: 'pre-wrap',
|
||||||
|
wordWrap: 'break-word',
|
||||||
|
wordBreak: 'break-all'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
url
|
||||||
|
),
|
||||||
...['didConnect', 'didQuery', 'didPublish'].map(attr =>
|
...['didConnect', 'didQuery', 'didPublish'].map(attr =>
|
||||||
h(
|
h(
|
||||||
'td',
|
'td',
|
||||||
|
|||||||
Reference in New Issue
Block a user