Api - fix portrait / landscape icon positioning in print dialog

This commit is contained in:
nathangray 2019-08-26 11:55:03 -06:00
parent 872235a0f1
commit e6022fe2c5

View File

@ -569,10 +569,12 @@ which caused click on free space infront of a tag stops nm row selection*/
Nextmatch print dialog Nextmatch print dialog
*/ */
#nm_print_dialog-xet .slideSwitch_container .on { #nm_print_dialog-xet .slideSwitch_container .on {
background-image: url('images/portrait.svg') background-image: url('images/portrait.svg');
background-position: 5px 0px;
} }
#nm_print_dialog-xet .slideSwitch_container .off { #nm_print_dialog-xet .slideSwitch_container .off {
background-image: url('images/landscape.svg') background-image: url('images/landscape.svg');
background-position: 5px -2px;
} }
/* /*
These are set via javascript before printing to help tame nextmatch's layout These are set via javascript before printing to help tame nextmatch's layout
@ -2458,6 +2460,10 @@ span.et2_checkbox_slideSwitch > span.slideSwitch_container {
padding: 3px 0px 3px 0px; padding: 3px 0px 3px 0px;
font-size: 12px; font-size: 12px;
} }
span.et2_checkbox_slideSwitch > span.slideSwitch_container > span {
background-size: contain;
background-repeat: no-repeat;
}
span.et2_checkbox_slideSwitch > span.slideSwitch_container > span:first-child { span.et2_checkbox_slideSwitch > span.slideSwitch_container > span:first-child {
width: 50%; width: 50%;
display: inline-block; display: inline-block;