File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -736,6 +736,12 @@ const Deco = styled.img`
736736 -webkit-appearance: none;
737737 -moz-appearance: none;
738738 appearance: none;
739+
740+ &[src=""],
741+ &:not([src]) {
742+ visibility: hidden;
743+ display: none;
744+ }
739745` ;
740746
741747const DecoContainer = styled . div `
@@ -751,6 +757,9 @@ const DecoContainer = styled.div`
751757 -webkit-appearance: none;
752758 -moz-appearance: none;
753759 appearance: none;
760+ &:empty {
761+ display: none;
762+ }
754763` ;
755764
756765const EfectContainer = styled . div `
@@ -763,6 +772,11 @@ const EfectContainer = styled.div`
763772 -webkit-appearance: none;
764773 -moz-appearance: none;
765774 appearance: none;
775+ &[src=""],
776+ &:not([src]) {
777+ visibility: hidden;
778+ display: none;
779+ }
766780` ;
767781
768782const Effect = styled . img `
@@ -779,4 +793,7 @@ const Effect = styled.img`
779793 -webkit-appearance: none;
780794 -moz-appearance: none;
781795 appearance: none;
796+ &:empty {
797+ display: none;
798+ }
782799` ;
You canโt perform that action at this time.
0 commit comments