Skip to content

Commit 1ccfca3

Browse files
feat(W-15595102): apply new styles for word break
1 parent 2f0ee40 commit 1ccfca3

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/Styles.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,12 +292,16 @@ api-security-documentation:last-of-type {
292292
font-style: normal;
293293
font-weight: 400;
294294
line-height: normal;
295-
font-family: var(--api-method-documentation-async-server-names-title-font,Helvetica)
295+
font-family: var(--api-method-documentation-async-server-names-title-font,Helvetica);
296+
margin-right: 10px;
296297
}
297298
298299
.async-servers .async-server-names-container{
299300
margin-top: 16px;
300301
margin-bottom: 10px;
302+
display: flex;
303+
flex-wrap: wrap;
304+
align-items: center;
301305
}
302306
303307
.async-servers .async-server-name{
@@ -313,6 +317,17 @@ api-security-documentation:last-of-type {
313317
border: 1px solid var(--api-method-documentation-async-server-names-border-color,#506773);;
314318
padding: 1px 8px 1px 8px;
315319
margin-right: 10px;
320+
display: flex;
321+
flex-direction: column;
322+
justify-content: center;
323+
word-break: auto-phrase;
324+
max-width: fit-content;
325+
}
326+
327+
@media (max-width: 385px) {
328+
.async-servers .async-server-name {
329+
margin-bottom: 10px;
330+
}
316331
}
317332
318333
.async-method-security{

0 commit comments

Comments
 (0)