mirror of
https://github.com/logto-io/logto.git
synced 2025-03-24 22:41:28 -05:00
style(console): remove logo border-radius (#3611)
This commit is contained in:
parent
7a493abfca
commit
4ccd6b836e
4 changed files with 3 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
|||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="48" height="48" fill="#C9C5D0"/>
|
||||
<path d="M10 9C10 6.79086 11.7909 5 14 5H17L20.5 5L21.9516 7L20.9032 9L23.1935 12.5L22.1452 14.5L24.0968 16.5L24.5 19L25.4032 16.5L24.3548 14.5L26.3065 12.5L25.0968 9L27.0484 7L26.5 5H31L34 5C36.2091 5 38 6.79086 38 9V17V25V39C38 41.2091 36.2091 43 34 43H24H17.4538C17.1654 43 16.8911 42.8755 16.7012 42.6585L10.2474 35.2828C10.0879 35.1005 10 34.8665 10 34.6243V25L10 9Z" fill="#FFFBFF"/>
|
||||
<path d="M10 35L17 43V37C17 35.8954 16.1046 35 15 35H10Z" fill="#ADAAB4"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0237 20.0251C15.8285 20.2203 15.8285 20.5369 16.0237 20.7322L17.7915 22.4999L16.0237 24.2677C15.8284 24.463 15.8284 24.7796 16.0237 24.9748C16.2189 25.1701 16.5355 25.1701 16.7308 24.9748L18.4986 23.207L20.2664 24.9748C20.4617 25.1701 20.7782 25.1701 20.9735 24.9748C21.1688 24.7796 21.1688 24.463 20.9735 24.2677L19.2057 22.4999L20.9734 20.7322C21.1687 20.5369 21.1687 20.2204 20.9734 20.0251C20.7782 19.8298 20.4616 19.8298 20.2663 20.0251L18.4986 21.7928L16.7309 20.0251C16.5356 19.8298 16.219 19.8298 16.0237 20.0251Z" fill="#ADAAB4"/>
|
||||
|
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -1,5 +1,4 @@
|
|||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="48" height="48" fill="#E5E1EC"/>
|
||||
<path d="M10 9C10 6.79086 11.7909 5 14 5H17L20.5 5L21.9516 7L20.9032 9L23.1935 12.5L22.1452 14.5L24.0968 16.5L24.5 19L25.4032 16.5L24.3548 14.5L26.3065 12.5L25.0968 9L27.0484 7L26.5 5H31L34 5C36.2091 5 38 6.79086 38 9V17V25V39C38 41.2091 36.2091 43 34 43H24H17.4538C17.1654 43 16.8911 42.8755 16.7012 42.6585L10.2474 35.2828C10.0879 35.1005 10 34.8665 10 34.6243V25L10 9Z" fill="#ADAAB4"/>
|
||||
<path d="M10 35L17 43V37C17 35.8954 16.1046 35 15 35H10Z" fill="#FBF9FF"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.0237 20.0251C15.8285 20.2203 15.8285 20.5369 16.0237 20.7322L17.7915 22.4999L16.0237 24.2677C15.8284 24.463 15.8284 24.7796 16.0237 24.9748C16.2189 25.1701 16.5355 25.1701 16.7308 24.9748L18.4986 23.207L20.2664 24.9748C20.4617 25.1701 20.7782 25.1701 20.9735 24.9748C21.1688 24.7796 21.1688 24.463 20.9735 24.2677L19.2057 22.4999L20.9734 20.7322C21.1687 20.5369 21.1687 20.2204 20.9734 20.0251C20.7782 19.8298 20.4616 19.8298 20.2663 20.0251L18.4986 21.7928L16.7309 20.0251C16.5356 19.8298 16.219 19.8298 16.0237 20.0251Z" fill="#78767F"/>
|
||||
|
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -40,18 +40,15 @@
|
|||
.logo {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 8px;
|
||||
flex-shrink: 0;
|
||||
|
||||
&.large {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
&.small {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,9 @@ function ImageWithErrorFallback({
|
|||
return fallbackElement ? (
|
||||
cloneElement(fallbackElement, { className })
|
||||
) : (
|
||||
<DefaultFallback className={className} />
|
||||
<div className={containerClassName}>
|
||||
<DefaultFallback className={className} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue