Commit 73a027c7 authored by Rafael Monnerat's avatar Rafael Monnerat

Add CSS class for software logo

See merge request nexedi/slapos.core!309
parents 9a274e9e cfe1d78e
...@@ -87,4 +87,10 @@ ...@@ -87,4 +87,10 @@
background: white !important; background: white !important;
cursor: default; cursor: default;
text-align: center; text-align: center;
}
/* for Software Logo*/
div.editable_div.logo img {
object-fit: cover;
max-height: 3.5em;
} }
\ No newline at end of file
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>css_class</string>
<string>default</string> <string>default</string>
<string>image_display</string> <string>image_display</string>
<string>image_quality</string> <string>image_quality</string>
...@@ -84,6 +85,10 @@ ...@@ -84,6 +85,10 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>css_class</string> </key>
<value> <string>logo</string> </value>
</item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -98,7 +103,7 @@ ...@@ -98,7 +103,7 @@
</item> </item>
<item> <item>
<key> <string>image_display</string> </key> <key> <string>image_display</string> </key>
<value> <string>micro</string> </value> <value> <string>thumbnail</string> </value>
</item> </item>
<item> <item>
<key> <string>image_quality</string> </key> <key> <string>image_quality</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment