Fix image size for svg files
This commit is contained in:
		| @ -254,8 +254,13 @@ | |||||||
|                  file_name_prop.textContent = ie.parentElement.getAttribute('data-name'); |                  file_name_prop.textContent = ie.parentElement.getAttribute('data-name'); | ||||||
|                  file_size_prop.textContent = ie.parentElement.getAttribute('data-size') + " B"; |                  file_size_prop.textContent = ie.parentElement.getAttribute('data-size') + " B"; | ||||||
|                  image_type_prop.textContent = ie.parentElement.getAttribute('data-type'); |                  image_type_prop.textContent = ie.parentElement.getAttribute('data-type'); | ||||||
|  |                  if (ie.getAttribute('data-size') == "x") { | ||||||
|  |                      res_prop_wrapper.style.display = "none"; | ||||||
|  |                  } else { | ||||||
|  |                      res_prop_wrapper.style.display = "flex"; | ||||||
|                      image_size_prop.textContent = ie.getAttribute('data-size'); |                      image_size_prop.textContent = ie.getAttribute('data-size'); | ||||||
|                  } |                  } | ||||||
|  |              } | ||||||
|          } |          } | ||||||
|  |  | ||||||
| 		 function video_ready(ve) { | 		 function video_ready(ve) { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user