Set fixed dimensions for cross icon

This commit is contained in:
Ramon Wenger 2020-06-03 10:57:30 +02:00
parent f0cf98f80a
commit 26bb96b025
7 changed files with 136 additions and 155 deletions

View File

@ -32,7 +32,7 @@
align-items: center; align-items: center;
&__logout { &__logout {
@include default-link;; @include default-link;
cursor: pointer; cursor: pointer;
} }
} }

View File

@ -121,11 +121,6 @@
align-content: center; align-content: center;
} }
&__close-icon {
width: 40px;
height: 40px;
}
&__footer { &__footer {
grid-area: footer; grid-area: footer;
-ms-grid-row: 3; -ms-grid-row: 3;

View File

@ -97,11 +97,5 @@
justify-self: center; justify-self: center;
cursor: pointer; cursor: pointer;
} }
&__close-icon {
width: 30px;
height: 30px;
opacity: 0.5;
}
} }
</style> </style>

View File

@ -2,8 +2,16 @@
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 100 100" viewBox="0 0 100 100"
id="shape"> class="cross">
<path <path
d="M53.91,50,87.19,16.73a2.77,2.77,0,1,0-3.91-3.91L50,46.09,16.73,12.81a2.77,2.77,0,1,0-3.91,3.91L46.09,50,12.81,83.27a2.77,2.77,0,1,0,3.91,3.91L50,53.91,83.27,87.19a2.77,2.77,0,0,0,3.91-3.91Z"/> d="M53.91,50,87.19,16.73a2.77,2.77,0,1,0-3.91-3.91L50,46.09,16.73,12.81a2.77,2.77,0,1,0-3.91,3.91L46.09,50,12.81,83.27a2.77,2.77,0,1,0,3.91,3.91L50,53.91,83.27,87.19a2.77,2.77,0,0,0,3.91-3.91Z"/>
</svg> </svg>
</template> </template>
<style scoped lang="scss">
.cross {
width: 30px;
height: 30px;
opacity: 0.5;
}
</style>

View File

@ -135,12 +135,6 @@
cursor: pointer; cursor: pointer;
} }
&__close-icon {
width: 30px;
height: 30px;
opacity: 0.5;
}
&__support { &__support {
padding: $medium-spacing; padding: $medium-spacing;
@include regular-text; @include regular-text;

View File

@ -45,11 +45,6 @@
display:flex; display:flex;
justify-content:end; justify-content:end;
&__icon {
width: 40px;
height: 40px;
}
} }
</style> </style>

View File

@ -71,10 +71,5 @@
margin-right: $medium-spacing; margin-right: $medium-spacing;
margin-top: $medium-spacing; margin-top: $medium-spacing;
} }
&__icon {
width: 40px;
height: 40px;
}
} }
</style> </style>