From 1e524dd70bf841b166eb410ff396b22510188cbc Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Tue, 11 Jul 2023 22:02:54 +1200 Subject: [PATCH] Better aligned the linkfield picker --- client/dist/styles/bundle.css | 2 +- client/src/components/LinkPicker/LinkPicker.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/dist/styles/bundle.css b/client/dist/styles/bundle.css index 8e39b76b..56d27d44 100644 --- a/client/dist/styles/bundle.css +++ b/client/dist/styles/bundle.css @@ -1 +1 @@ -.link-menu{width:100%;height:100%}.link-menu.font-icon-link::before{margin:.76925rem}.link-menu__menu{flex-grow:1}.link-menu__menu-toggle{width:100%;height:100%;text-align:left}.link-menu__menu-toggle::before{padding:.76925rem}.link-title{display:flex;align-items:center;width:100%;text-align:left;border:none;margin-right:0}.link-title:hover,.link-title:focus{background:#eef0f4;text-decoration:none;color:inherit}.link-title__link{display:flex;align-items:center;width:100%;text-align:left;border:none;margin-right:0;justify-content:space-between}.link-title__link:hover,.link-title__link:focus{background:#eef0f4;text-decoration:none;color:inherit}.link-title__button{display:flex;align-items:center;flex-grow:1;height:100%;text-align:left;border:none;margin-right:0}.link-title__button::before{font-size:1.231rem;padding:.76925rem;margin-right:6px;flex-grow:0}.link-title__detail{flex-grow:1}.link-title__clear{flex-grow:0}.link-title__url{color:#0071c4}.link-box{display:flex;height:54px;background:#fff;width:100%;align-items:stretch;cursor:pointer;padding:0;box-shadow:none}.link-box.font-icon-link::before{margin:.76925rem}.multi-link-picker__picker{margin-bottom:.76925rem}.multi-link-picker__list{flex-wrap:wrap;height:auto}.multi-link-picker__link{width:100%;border-top:1px solid #ced5e1;border-radius:0}.multi-link-picker__link:first-child{border-top:none} +.link-menu{width:100%;height:100%}.link-menu.font-icon-link::before{margin:.76925rem}.link-menu__menu{flex-grow:1}.link-menu__toggle{width:100%;height:100%;text-align:left}.link-menu__toggle::before{padding:.76925rem}.link-title{display:flex;align-items:center;width:100%;text-align:left;border:none;margin-right:0}.link-title:hover,.link-title:focus{background:#eef0f4;text-decoration:none;color:inherit}.link-title__link{display:flex;align-items:center;width:100%;text-align:left;border:none;margin-right:0;justify-content:space-between}.link-title__link:hover,.link-title__link:focus{background:#eef0f4;text-decoration:none;color:inherit}.link-title__button{display:flex;align-items:center;flex-grow:1;height:100%;text-align:left;border:none;margin-right:0}.link-title__button::before{font-size:1.231rem;padding:.76925rem;margin-right:6px;flex-grow:0}.link-title__detail{flex-grow:1}.link-title__clear{flex-grow:0}.link-title__url{color:#0071c4}.link-box{display:flex;height:54px;background:#fff;width:100%;align-items:stretch;cursor:pointer;padding:0;box-shadow:none}.link-box.font-icon-link::before{margin:.76925rem}.multi-link-picker__picker{margin-bottom:.76925rem}.multi-link-picker__list{flex-wrap:wrap;height:auto}.multi-link-picker__link{width:100%;border-top:1px solid #ced5e1;border-radius:0}.multi-link-picker__link:first-child{border-top:none} diff --git a/client/src/components/LinkPicker/LinkPicker.scss b/client/src/components/LinkPicker/LinkPicker.scss index fcf0ce41..d6fb2306 100644 --- a/client/src/components/LinkPicker/LinkPicker.scss +++ b/client/src/components/LinkPicker/LinkPicker.scss @@ -10,7 +10,7 @@ flex-grow: 1; } - &__menu-toggle { + &__toggle { width: 100%; height: 100%; text-align: left;