From e6022fe2c5a30dd283e02f684f7655e696131d8b Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 26 Aug 2019 11:55:03 -0600 Subject: [PATCH] Api - fix portrait / landscape icon positioning in print dialog --- api/templates/default/etemplate2.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index 528493c9d4..13fede0ef9 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -569,10 +569,12 @@ which caused click on free space infront of a tag stops nm row selection*/ Nextmatch print dialog */ #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 { - 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 @@ -2458,6 +2460,10 @@ span.et2_checkbox_slideSwitch > span.slideSwitch_container { padding: 3px 0px 3px 0px; 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 { width: 50%; display: inline-block;