commit
0ab2a7966c
1
public/akaunting-js/generalAction.js
vendored
1
public/akaunting-js/generalAction.js
vendored
@ -456,6 +456,7 @@ document.querySelectorAll('[data-index-icon]').forEach((defaultText) => {
|
|||||||
|
|
||||||
if (icon_parents_element.classList.contains('flex')) {
|
if (icon_parents_element.classList.contains('flex')) {
|
||||||
icon_parents_element.appendChild(defaultText);
|
icon_parents_element.appendChild(defaultText);
|
||||||
|
icon_parents_element.classList.remove('truncate');
|
||||||
} else {
|
} else {
|
||||||
if (icon_parents_element.classList.contains('overflow-x-hidden')) {
|
if (icon_parents_element.classList.contains('overflow-x-hidden')) {
|
||||||
icon_parents_element.parentElement.appendChild(defaultText);
|
icon_parents_element.parentElement.appendChild(defaultText);
|
||||||
|
2
resources/assets/js/mixins/global.js
vendored
2
resources/assets/js/mixins/global.js
vendored
@ -179,7 +179,7 @@ export default {
|
|||||||
|
|
||||||
//swiper slider for long tabs items
|
//swiper slider for long tabs items
|
||||||
for (let [index, item] of document.querySelectorAll('[data-swiper]').entries()) {
|
for (let [index, item] of document.querySelectorAll('[data-swiper]').entries()) {
|
||||||
if (item.clientWidth < item.querySelector('[data-tabs-swiper-wrapper]').clientWidth) {
|
if (item.clientWidth < item.querySelector('[data-tabs-swiper-wrapper]').clientWidth && ! item.querySelector('[data-tabs-swiper-wrapper]').getAttribute('data-disable-slider', true)) {
|
||||||
let initial_slide = 0;
|
let initial_slide = 0;
|
||||||
let hash_split = window.location.hash.split('#')[1];
|
let hash_split = window.location.hash.split('#')[1];
|
||||||
let loop = 0;
|
let loop = 0;
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<div data-swiper="{{ $slides }}" x-data="{ active: window.location.hash.split('#')[1] == undefined ? '{{ $active }}' : window.location.hash.split('#')[1] }">
|
<div data-swiper="{{ $slides }}" x-data="{ active: window.location.hash.split('#')[1] == undefined ? '{{ $active }}' : window.location.hash.split('#')[1] }">
|
||||||
<div data-tabs-swiper>
|
<div data-tabs-swiper>
|
||||||
<ul data-tabs-swiper-wrapper {{ ((! $attributes->has('override')) || ($attributes->has('override') && ! in_array('class', explode(',', $attributes->get('override'))))) ? $attributes->merge(['class' => 'inline-flex']) : $attributes }}>
|
<ul data-tabs-swiper-wrapper {{ ((! $attributes->has('override')) || ($attributes->has('override') && ! in_array('class', explode(',', $attributes->get('override'))))) ? $attributes->merge(['class' => 'inline-flex overflow-x-scroll large-overflow-unset']) : $attributes }}>
|
||||||
{!! $navs !!}
|
{!! $navs !!}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user