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 {
|
.description {
|
||||||
|
width: 100%;
|
||||||
font-size: 42px;
|
font-size: 42px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #8c91af;
|
color: #8c91af;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: block;
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
line-clamp: 2'...';
|
-webkit-line-clamp: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-debug .description {
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.languages {
|
.languages {
|
||||||
|
|
|
@ -17,17 +17,11 @@
|
||||||
place-items: center;
|
place-items: center;
|
||||||
height: 100%;
|
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>
|
</style>
|
||||||
<title>OpenGraph Debug Preview</title>
|
<title>OpenGraph Debug Preview</title>
|
||||||
</head>
|
</head>
|
||||||
<% } %>
|
<% } %>
|
||||||
<div class="wrapper <% if (it.languages) { %>has-languages<% } %>">
|
<div class="wrapper <% if (it.languages) { %>has-languages<% } %> <% if (it.debug) { %>is-debug<% } %>">
|
||||||
<%~ it.body %>
|
<%~ it.body %>
|
||||||
<% if (it.languages) { %>
|
<% if (it.languages) { %>
|
||||||
<div class="languages">
|
<div class="languages">
|
||||||
|
|
Loading…
Reference in a new issue