fix(aio): reposition and shrink the API badges (#22570)
Closes #22130 PR Close #22570
This commit is contained in:

committed by
Alex Eagle

parent
53b0fe8144
commit
8ea4c57174
@ -10,6 +10,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
.api-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
.api-body {
|
||||
|
||||
.class-overview {
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
.header-link {
|
||||
color: $mediumgray;
|
||||
margin-left: 8px;
|
||||
margin: 0 4px;
|
||||
text-decoration: none;
|
||||
user-select: none;
|
||||
visibility: hidden;
|
||||
|
@ -38,6 +38,14 @@ label.raised, .api-header label {
|
||||
|
||||
.api-header label {
|
||||
|
||||
// The API badges should be a little smaller
|
||||
padding: 2px 10px;
|
||||
font-size: 12px;
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
&.api-status-label {
|
||||
background-color: $mediumgray;
|
||||
}
|
||||
|
Reference in New Issue
Block a user