Fix image size for svg files
This commit is contained in:
		| @ -254,7 +254,12 @@ | |||||||
|                  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'); | ||||||
|                  image_size_prop.textContent = ie.getAttribute('data-size'); |                  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'); | ||||||
|  |                  } | ||||||
|              } |              } | ||||||
|          } |          } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user