CSS ISSUE FIX

This commit is contained in:
Sharath 2023-10-09 17:21:20 +05:30
parent 5a3fc4c6c7
commit cb07cf2225

View File

@ -342,13 +342,15 @@
<div class="row">
<div class="col-lg-12">
<div id="sticky-header" class="nav-menu">
<button class="menu-symbol" id="sidebarToggle"></button>
<a><button class="menu-symbol" id="sidebarToggle"></button></a>
<div class="header-logo">
<a href="dashboard.html" ><h2 style="margin-top: 25px;"><img src="assets/images/fav-icon/icon.png" alt="">&nbsp;&nbsp;PROJECT-B</h2></a>
<a class="main_sticky" href="dashboard.html" class="project"><h2 style="margin-top: 25px;"><img src="assets/images/fav-icon/icon.png" alt="">&nbsp;&nbsp;PROJECT-B</h2></a>
<a href="dashboard.html" ><h2 style="margin-top: 25px;margin-left: -440px;"><img src="assets/images/fav-icon/icon.png" alt="">&nbsp;&nbsp;PROJECT-B</h2></a>
<a class="main_sticky" href="dashboard.html" class="project"><h2 style="margin-top: 25px;margin-left: -440px;"><img src="assets/images/fav-icon/icon.png" alt="">&nbsp;&nbsp;PROJECT-B</h2></a>
</div>
<div class="heder-menu">
<ul>
<li><a href="dashboard.html"><i class="fa fa-home" aria-hidden="true" style="font-size: 24px;"></i>&nbsp;&nbsp;Home</a></li>
<li><a href="#" class="myBtn" onclick="saveFile()" id="SaveButton"><i class="fa fa-floppy-o" aria-hidden="true" style="font-size: 20px;"></i>&nbsp;&nbsp;Save</a></li>
@ -558,6 +560,9 @@ const FileName = params.get('filename');// Get the value of a specific parameter
$(document).ready(function() {
require('dotenv').config();
const isEncrypted = process.env.ENCRYPTED;
$('.ql-toolbar').hide(); // Hide the Quill Text Editor if PAge load
if(FileName == "" || FileName == null ) {
@ -572,6 +577,7 @@ $(document).ready(function() {
$(document).on("click", function (event) {
var questionPaperDiv = $(".QuestionPaperClass");
if (!questionPaperDiv.is(event.target) && questionPaperDiv.has(event.target).length === 0) {
$('.ql-toolbar').hide();
@ -583,8 +589,8 @@ $(document).on("click", function (event) {
document.addEventListener('DOMContentLoaded', function () {
const scrollToTopBtn = document.getElementById('SaveButton');
const scrollToTopBtn2 = document.getElementById('SaveButton2');
require('dotenv').config();
const isEncrypted = process.env.ENCRYPTED;
// require('dotenv').config();
// const isEncrypted = process.env.ENCRYPTED;
// Function to keep the cursor at its current position
function keepCursorAtPosition(event) {