From 404e2bf0b316cca4540f3db66b3b4eb7406010d0 Mon Sep 17 00:00:00 2001 From: elhombretecla Date: Tue, 2 Mar 2021 17:33:34 +0100 Subject: [PATCH] :bug: Fix css custom presets dropdown --- .../styles/main/partials/sidebar-element-options.scss | 10 +++++++++- .../ui/workspace/sidebar/options/shapes/frame.cljs | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/frontend/resources/styles/main/partials/sidebar-element-options.scss b/frontend/resources/styles/main/partials/sidebar-element-options.scss index 90e2b8f66..778d4b313 100644 --- a/frontend/resources/styles/main/partials/sidebar-element-options.scss +++ b/frontend/resources/styles/main/partials/sidebar-element-options.scss @@ -510,7 +510,15 @@ .presets { .custom-select-dropdown { - width: 200px; + width: 237px; + + li { + font-size: $fs12; + + span { + font-size: $fs11; + } + } } } diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs index 1845cf979..26244c95a 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/shapes/frame.cljs @@ -146,7 +146,7 @@ {:name "iPhone X/XS/11 Pro" :width 375 :height 812} - {:name "iPhone XS Max/XR/11/11 Pro Max" + {:name "iPhone XS Max/XR/11" :width 414 :height 896} {:name "iPhone 6/7/8 Plus" @@ -190,7 +190,7 @@ {:name "Google Pixel 4a/5" :width 393 :height 851} - {:name "Samsung Galaxy S20+/S21 Ultra" + {:name "Samsung Galaxy S20+" :width 384 :height 854} {:name "Samsung Galaxy A71/A51"