Skip to content
Snippets Groups Projects
Commit 67e7803b authored by gnaegi's avatar gnaegi
Browse files

OO-1970 Change logo markup a bit for better image positioning, responsive

parent 2baf036d
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,6 @@
.o_visitingcard .o_portrait_dummy_male_big,
.o_visitingcard .o_portrait_anonymous { width: 66px; height: 66px; margin-right: 10px;}
.o_visitingcard_logo img { max-width:400px; max-height: 66px; margin-right: 10px;}
@media (max-width: $screen-xs-max) {
.o_visitingcard .o_portrait_avatar,
.o_visitingcard .o_portrait_dummy,
......@@ -46,7 +44,6 @@
}
/* Additional logo is also smaller */
.o_visitingcard_logo img { max-width:300px; max-height: 50px; margin: 5px 0 0 5px;}
.o_visitingcard_logo,
.o_bcard_logo {
height: 50px;
......@@ -54,7 +51,6 @@
img {
/* tricky: scale to match new max height */
position: relative;
width: auto;
transform: scale( (50/66) ); /* scale to fit to new box size... */
top: -8px; /* .. and move 8px down (16px divided by 2 for top and bottom) */
}
......
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment