From ca3d45ddb41c4e91637ebaaec7cf8e2db65a8239 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 23 Jan 2024 23:18:23 +0100 Subject: [PATCH] fix some styles #887 Co-Authored-By: Ho3ein <33454419+mhsanaei@users.noreply.github.com> --- web/assets/css/custom.css | 26 ++++++++++++++++++++++++++ web/html/common/qrcode_modal.html | 8 ++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css index 1673f07e..b1831f2b 100644 --- a/web/assets/css/custom.css +++ b/web/assets/css/custom.css @@ -1049,3 +1049,29 @@ li.ant-select-dropdown-menu-item:empty:after { .ant-input-number { overflow: clip; } + +.ant-modal-body, +.ant-collapse-content>.ant-collapse-content-box { + overflow-x: auto; +} + +.dark .ant-dropdown-menu-item:hover, +.dark .ant-dropdown-menu-submenu-title:hover, +.dark .ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled), +.dark .ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled) { + background-color: #313f5a; +} + +.ant-select-dropdown, +.ant-popover-inner { + overflow-x: hidden; +} + +.ant-popover-inner-content { + max-height: 400px; + overflow-y: auto; +} + +.ant-input-group-addon:not(:first-child):not(:last-child), .ant-input-group-wrap:not(:first-child):not(:last-child), .ant-input-group>.ant-input:not(:first-child):not(:last-child) { + border-radius: 0rem 1rem 1rem 0rem; +} \ No newline at end of file diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 9502e320..5ea76ed6 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -6,12 +6,16 @@ {{ i18n "pages.inbounds.clickOnQRcode" }} {{ i18n "pages.inbounds.client" }}