mirror of
https://github.com/Redocly/redoc.git
synced 2025-06-29 16:53:08 +03:00
update tags style
This commit is contained in:
parent
a825d98a4d
commit
dc01ad9556
|
@ -33,17 +33,24 @@ span.path {
|
||||||
}
|
}
|
||||||
|
|
||||||
.method-tags {
|
.method-tags {
|
||||||
margin-top: 10px;
|
margin-top: 20px;
|
||||||
color: #666;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.method-tags a {
|
.method-tags a {
|
||||||
color: #666;
|
font-size: 16px;
|
||||||
font-weight: bold;
|
color: #999;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 0 5px;
|
padding: 0 0.5em;
|
||||||
font-style: italic;
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.method-tags a:before{
|
||||||
|
content: '#';
|
||||||
|
margin-right: -0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.method-tags a:first-of-type {
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content, .samples {
|
.content, .samples {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<span class="http-method" [ng-class]="data.method">{{data.method}}</span>
|
<span class="http-method" [ng-class]="data.method">{{data.method}}</span>
|
||||||
<span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>
|
<span class="api-url">{{data.apiUrl}}</span> <span class="path">{{data.path}}</span>
|
||||||
</h3>
|
</h3>
|
||||||
<div class="method-tags"> Tags:
|
<div class="method-tags" *ng-if="data.methodInfo.tags.length">
|
||||||
<a *ng-for="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
|
<a *ng-for="#tag of data.methodInfo.tags" attr.href="#{{tag}}"> {{tag}} </a>
|
||||||
</div>
|
</div>
|
||||||
<p *ng-if="data.methodInfo.description" class="method-description"
|
<p *ng-if="data.methodInfo.description" class="method-description"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user