Skip to content

Commit 61e7a99

Browse files
author
Ian De Bie
authored
fix comments by using correct css comment syntax (#8019)
these intended comments were causing errors in sonarqube scans due to using wrong css comment syntax
1 parent 9d149f2 commit 61e7a99

File tree

1 file changed

+3
-3
lines changed
  • rest_framework/static/rest_framework/docs/css

1 file changed

+3
-3
lines changed

rest_framework/static/rest_framework/docs/css/base.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ h1 {
77
}
88

99
pre.highlight code * {
10-
white-space: nowrap; // this sets all children inside to nowrap
10+
white-space: nowrap; /* this sets all children inside to nowrap */
1111
}
1212

1313
pre.highlight {
14-
overflow-x: auto; // this sets the scrolling in x
14+
overflow-x: auto; /* this sets the scrolling in x */
1515
}
1616

1717
pre.highlight code {
18-
white-space: pre; // forces <code> to respect <pre> formatting
18+
white-space: pre; /* forces <code> to respect <pre> formatting */
1919
}
2020

2121
.main-container {

0 commit comments

Comments
 (0)