feat(plugins/community/screenshot): add plugin_screenshot_mode (#1324)
This commit is contained in:
@@ -11,8 +11,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2.343 13.657A8 8 0 1113.657 2.343 8 8 0 012.343 13.657zM6.03 4.97a.75.75 0 00-1.06 1.06L6.94 8 4.97 9.97a.75.75 0 101.06 1.06L8 9.06l1.97 1.97a.75.75 0 101.06-1.06L9.06 8l1.97-1.97a.75.75 0 10-1.06-1.06L8 6.94 6.03 4.97z"></path></svg>
|
||||
<%= plugins.screenshot.error.message %>
|
||||
</div>
|
||||
<% } else { %>
|
||||
<% } else if (plugins.screenshot.image) { %>
|
||||
<img class="screenshot autosize" src="<%= plugins.screenshot.image %>" height="<%= plugins.screenshot.height %>" width="<%= plugins.screenshot.width %>" alt=""/>
|
||||
<% } else if (plugins.screenshot.content) { %>
|
||||
<div class="screenshot-content">
|
||||
<%= plugins.screenshot.content %>
|
||||
</div>
|
||||
<% } %>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
3
source/templates/classic/style.css
vendored
3
source/templates/classic/style.css
vendored
@@ -469,6 +469,9 @@
|
||||
margin: 8px 14px 4px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.screenshot-content {
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
svg.large .audits {
|
||||
display: inline-flex;
|
||||
|
||||
Reference in New Issue
Block a user