edit debug layout compatibility
This commit is contained in:
parent
d0c981881c
commit
f6627672c9
2 changed files with 9 additions and 9 deletions
|
@ -118,13 +118,19 @@ p {
|
|||
}
|
||||
|
||||
.description {
|
||||
width: 100%;
|
||||
font-size: 42px;
|
||||
font-weight: 500;
|
||||
color: #8c91af;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
text-overflow: ellipsis;
|
||||
line-clamp: 2'...';
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.is-debug .description {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.languages {
|
||||
|
|
|
@ -17,17 +17,11 @@
|
|||
place-items: center;
|
||||
height: 100%;
|
||||
}
|
||||
/* we're using unprefixed line-clamp, but we want that to look correct in dev mode */
|
||||
*[style*="line-clamp: 2"] {
|
||||
display: -webkit-box !important;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
</style>
|
||||
<title>OpenGraph Debug Preview</title>
|
||||
</head>
|
||||
<% } %>
|
||||
<div class="wrapper <% if (it.languages) { %>has-languages<% } %>">
|
||||
<div class="wrapper <% if (it.languages) { %>has-languages<% } %> <% if (it.debug) { %>is-debug<% } %>">
|
||||
<%~ it.body %>
|
||||
<% if (it.languages) { %>
|
||||
<div class="languages">
|
||||
|
|
Loading…
Reference in a new issue