Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddd0f6ac authored by Akhil's avatar Akhil 🙂
Browse files

Fix file icon alignment.js

parent 7409bd20
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -58,11 +58,8 @@
	.menu-open-icon svg, .menu-icon svg path{
		fill: #808080;
	}	
	li[data-cy-files-navigation-item="trashbin"] {
		order: unset !important;
    	margin-top: unset !important;
	}	
}

.onlyoffice-inline {
	#content.app-files {
		#app-content {
+1 −2
Original line number Diff line number Diff line
document.addEventListener('DOMContentLoaded', function() {
	document.querySelector('#app-navigation [data-id="trashbin"]').classList.remove('pinned', 'first-pinned')
	document.querySelector('#app-navigation [id="quota"]').classList.add('pinned', 'first-pinned')
	document.querySelector('.app-navigation [data-cy-files-navigation-item="trashbin"]').classList.remove('app-navigation-entry--pinned')
})
+1 −2
Original line number Diff line number Diff line
@@ -13,8 +13,7 @@ document.addEventListener('DOMContentLoaded', function() {
	const newHint = document.createElement('p')
	newHint.className = 'margin-top-10 settings-hint hidden'
	newHint.innerHTML = t('settings', '<b>Note:</b> You\'ll need to create a new <a class="text-color-active" href="https://doc.e.foundation/support-topics/two-factor-authentication#using-an-application-password-for-the-eos-account-manager">application password</a> to set your account within /e/OS. Additionally, you need to <a class="text-color-active" href="https://doc.e.foundation/support-topics/two-factor-authentication#manually-setup-mail-application">provide your main account password to /e/OS Mail</a>.')
	const firstHint = document.querySelector('#two-factor-auth p.settings-hint')
	firstHint.insertAdjacentElement('afterend', newHint)
	infoIcon.insertAdjacentElement('afterend', newHint)

	// Removing the 'hidden' class from all elements with class 'settings-hint'
	const allHints = document.querySelectorAll('.settings-hint')