mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-09 20:24:03 +00:00
Improve design of placeholder item
Also makes it show the error backtrace
This commit is contained in:
@@ -816,3 +816,50 @@ h1, h2, h3, h4, h5, p,
|
||||
#download_widget {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.error-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 25px;
|
||||
margin-bottom: 1em;
|
||||
border-radius: 10px;
|
||||
border: 1px solid black;
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.error-card > .explanation {
|
||||
display: grid;
|
||||
grid-template-columns: max-content 1fr;
|
||||
grid-template-rows: 1fr max-content;
|
||||
column-gap: 10px;
|
||||
row-gap: 4px;
|
||||
}
|
||||
|
||||
.error-card > .explanation > i {
|
||||
grid-area: 1 / 1 / 2 / 2;
|
||||
}
|
||||
|
||||
.error-card > .explanation > h4 {
|
||||
grid-area: 1 / 2 / 2 / 3;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.error-card > .explanation > p {
|
||||
grid-area: 2 / 2 / 3 / 3;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.error-card details {
|
||||
margin-top: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.error-card summary {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.error-card pre {
|
||||
height: 300px;
|
||||
}
|
Reference in New Issue
Block a user