feat: improve preview style
All checks were successful
Deploy MinIO Explorer / deploy (push) Successful in 47s
All checks were successful
Deploy MinIO Explorer / deploy (push) Successful in 47s
This commit is contained in:
@@ -328,7 +328,6 @@ tr:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.preview-content {
|
.preview-content {
|
||||||
padding: 15px;
|
|
||||||
background-color: white;
|
background-color: white;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@@ -361,7 +360,7 @@ tr:hover {
|
|||||||
|
|
||||||
.preview-content iframe {
|
.preview-content iframe {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 500px;
|
height: 100%;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -399,6 +398,7 @@ tr:hover {
|
|||||||
.rst-content {
|
.rst-content {
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
color: #333;
|
color: #333;
|
||||||
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown-content h1,
|
.markdown-content h1,
|
||||||
@@ -650,16 +650,12 @@ tr:hover {
|
|||||||
.preview-content pre[class*="language-"],
|
.preview-content pre[class*="language-"],
|
||||||
.preview-content code[class*="language-"] {
|
.preview-content code[class*="language-"] {
|
||||||
background-color: #f8f8f8;
|
background-color: #f8f8f8;
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 4px;
|
|
||||||
font-family: "Consolas", "Monaco", "Lucida Console", monospace;
|
font-family: "Consolas", "Monaco", "Lucida Console", monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview-content pre[class*="language-"] {
|
.preview-content pre[class*="language-"] {
|
||||||
padding: 15px;
|
|
||||||
margin: 10px 0;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
max-height: 600px;
|
max-height: 600px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user