diff --git a/public/akaunting-js/generalAction.js b/public/akaunting-js/generalAction.js index c863f94af..0743d8107 100644 --- a/public/akaunting-js/generalAction.js +++ b/public/akaunting-js/generalAction.js @@ -29,6 +29,9 @@ document.querySelectorAll("[data-table-body]").forEach((table) => { let td_item = td[i]; td_item.addEventListener("click", (event) => { + if (document.body.clientWidth < 768 && event.target.closest('[overflow-x-hidden]')) { + return; + } // click disabled when preview dialog is open if (event.target.closest('[data-tooltip-target]')) { return; @@ -436,6 +439,7 @@ function marqueeAnimation(truncate) { //there is overflow class for the animation does not overflow the width truncate.parentElement.parentElement.classList.add('overflow-x-hidden'); + truncate.parentElement.parentElement.setAttribute('overflow-x-hidden', true); } } diff --git a/public/css/app.css b/public/css/app.css index 1d98bee48..e3419e4a3 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -53686,6 +53686,16 @@ table thead a:hover{ padding-right: 8px !important; } +.el-select-dropdown__item .new-badge { + width: 45px !important; + margin-left: 8px; + z-index: 99; +} + +.el-select-dropdown__item .new-badge:hover { + background-color: #6ea152; +} + .el-select-dropdown__item .material-icons { padding-right: 0 !important; padding-left: 0 !important; @@ -54088,6 +54098,10 @@ html[dir="rtl"] .lines-radius-border thead td:last-child { .full-width-mobile { width: 100% !important; } + + .full-height-mobile { + height: 100% !important; + } } /* full-width for mobile. Some component use inline styling for width */ @@ -55817,14 +55831,14 @@ body{ padding-right: 0.75rem; } -[dir="ltr"] .ltr\:pl-10{ - padding-left: 2.5rem; -} - [dir="ltr"] .ltr\:pr-10{ padding-right: 2.5rem; } +[dir="ltr"] .ltr\:pl-10{ + padding-left: 2.5rem; +} + [dir="ltr"] .ltr\:text-left{ text-align: left; } @@ -56826,14 +56840,14 @@ body{ padding-left: 0.75rem; } -[dir="rtl"] .rtl\:pr-10{ - padding-right: 2.5rem; -} - [dir="rtl"] .rtl\:pl-10{ padding-left: 2.5rem; } +[dir="rtl"] .rtl\:pr-10{ + padding-right: 2.5rem; +} + [dir="rtl"] .rtl\:text-left{ text-align: left; } @@ -56893,6 +56907,10 @@ body{ float: right; } + .sm\:mt-6{ + margin-top: 1.5rem; + } + .sm\:mt-12{ margin-top: 3rem; } @@ -57086,10 +57104,19 @@ body{ border-left-width: calc(2px * calc(1 - var(--tw-divide-x-reverse))); } + .sm\:p-10{ + padding: 2.5rem; + } + .sm\:p-7{ padding: 1.75rem; } + .sm\:py-10{ + padding-top: 2.5rem; + padding-bottom: 2.5rem; + } + .sm\:px-0{ padding-left: 0px; padding-right: 0px; @@ -57100,6 +57127,31 @@ body{ padding-right: 0.5rem; } + .sm\:text-xs{ + font-size: 0.75rem; + line-height: 1rem; + } + + .sm\:text-base{ + font-size: 1rem; + line-height: 1.5rem; + } + + .sm\:text-lg{ + font-size: 1.125rem; + line-height: 1.75rem; + } + + .sm\:text-xl{ + font-size: 1.25rem; + line-height: 1.75rem; + } + + .sm\:text-2xl{ + font-size: 1.375rem; + line-height: 1.5rem; + } + .sm\:text-6xl{ font-size: 2.5rem; line-height: 2.75rem; @@ -57114,6 +57166,10 @@ body{ right: 1rem; } + [dir="ltr"] .sm\:ltr\:pl-10{ + padding-left: 2.5rem; + } + [dir="rtl"] .sm\:rtl\:left-4{ left: 1rem; } @@ -57121,6 +57177,10 @@ body{ [dir="rtl"] .sm\:rtl\:space-x-reverse > :not([hidden]) ~ :not([hidden]){ --tw-space-x-reverse: 1; } + + [dir="rtl"] .sm\:rtl\:pr-10{ + padding-right: 2.5rem; + } } @media (min-width: 768px){ diff --git a/resources/assets/js/components/AkauntingSelect.vue b/resources/assets/js/components/AkauntingSelect.vue index 595fd7943..b190d91b7 100644 --- a/resources/assets/js/components/AkauntingSelect.vue +++ b/resources/assets/js/components/AkauntingSelect.vue @@ -105,7 +105,7 @@ - {{ addNew.new_text }} + {{ addNew.new_text }} @@ -202,7 +202,7 @@ - {{ addNew.new_text }} + {{ addNew.new_text }}