word/edit: thumbnail image coordinates selector
[sheet.git] / editor.css
index 077de812a71ca0c78a9304262ab8ca64c3e5e6aa..5c29523388b1163de6c2d65bb448a3d8482874b7 100644 (file)
@@ -44,7 +44,7 @@ select {
        flex-shrink: 0;
 }
 
-ul.popup {
+.popup {
        display: flex;
        flex-wrap: wrap;
        align-items: end;
@@ -58,6 +58,10 @@ ul.popup {
        background: rgba(0, 0, 0, .8);
        border: 1px solid #CCC;
 }
+img.popup {
+       height: 100%; /* max assuming landscape */
+       width: auto; /* keep aspect */
+}
 
 h1 {
        margin-bottom: 1ex;