Fix metadata rendering with long texts
This commit is contained in:
@@ -265,12 +265,14 @@ var styles = `
|
|||||||
padding: 5px;
|
padding: 5px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
pre::before {
|
pre::before {
|
||||||
content: "METADATA";
|
content: "METADATA";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -7px;
|
top: -3px;
|
||||||
left: 0px;
|
right: 0px;
|
||||||
background-color: #212529;
|
background-color: #212529;
|
||||||
padding: 2px 4px 0;
|
padding: 2px 4px 0;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
|||||||
Reference in New Issue
Block a user