mirror of
https://github.com/logto-io/logto.git
synced 2025-04-07 23:01:25 -05:00
refactor(console): change sie preview size (#3442)
This commit is contained in:
parent
465936e6ce
commit
35caddfb0a
2 changed files with 4 additions and 4 deletions
packages/console/src/components/SignInExperiencePreview
|
@ -34,7 +34,7 @@
|
|||
|
||||
.deviceWrapper {
|
||||
overflow: hidden;
|
||||
padding: _.unit(6) 0;
|
||||
padding: _.unit(10) 0;
|
||||
|
||||
|
||||
.device {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Web
|
||||
$web-iframe-width: 640px;
|
||||
$web-iframe-height: 800px;
|
||||
$web-iframe-width: 700px;
|
||||
$web-iframe-height: 880px;
|
||||
|
||||
$web-width: 498px;
|
||||
$web-height: calc($web-width * $web-iframe-height / $web-iframe-width);
|
||||
|
@ -15,7 +15,7 @@ $web-to-wrapper-offset-y: calc($web-iframe-height * 0.5 * ($web-scale-y - 1));
|
|||
$mobile-iframe-width: 390px;
|
||||
$mobile-iframe-height: 844px;
|
||||
|
||||
$mobile-width: 320px;
|
||||
$mobile-width: 260px;
|
||||
$mobile-height: calc($mobile-width * $mobile-iframe-height / $mobile-iframe-width);
|
||||
|
||||
$mobile-scale-x: calc($mobile-width / $mobile-iframe-width);
|
||||
|
|
Loading…
Add table
Reference in a new issue