Skip to content

Commit

Permalink
Update Pgmain.css
Browse files Browse the repository at this point in the history
  • Loading branch information
1Levick3 authored Aug 1, 2024
1 parent c75d371 commit c89a010
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/Pgmain.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@

/* General styles for all screen sizes */
.bleft, .bmid, .bright {
padding: 15px;
}

/* Styles specific to the row layout */

.row {
padding-bottom: 50px;
margin: 0; /* Remove margin from the row */
margin: 0;
}

/* Media query for desktop view */

@media (min-width: 768px) {
.bleft, .bright {
position: fixed;
top: 20;
height: 100vh; /* Ensure full viewport height */
height: 100vh;
overflow-y: auto;
}

.bleft {
width: 25%;
left: 0; /* Position to the left */
left: 0;
}

.bmid {
Expand All @@ -32,11 +31,11 @@

.bright {
width: 25%;
right: 0; /* Position to the right */
right: 0;
}
}

/* Media query for mobile view */

@media (max-width: 767px) {
.bleft, .bmid, .bright {
position: relative;
Expand All @@ -47,4 +46,4 @@
margin: 0;
}
}


0 comments on commit c89a010

Please sign in to comment.