mirror of
https://github.com/aljazceru/nostr-relay-registry.git
synced 2025-12-17 06:04: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')]),
|
||||
...this.relays.map(url =>
|
||||
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 =>
|
||||
h(
|
||||
'td',
|
||||
|
||||
Reference in New Issue
Block a user