Browse Source

#6351: Pique: Fix wide/full width columns on mobile (#6363)

* #6351: Pique: Fix wide/full width columns on mobile

* #6351: Pique: Fix wide/full width columns on mobile
Bob Matyas 2 years ago
parent
commit
05954b2d7f
1 changed files with 2 additions and 14 deletions
  1. 2 14
      pique/assets/css/blocks.css

+ 2 - 14
pique/assets/css/blocks.css

@@ -115,20 +115,7 @@ body.archive .wp-block-archives.alignfull {
 /* When sidebar is below the content */
 
 @media (max-width: 999px) {
-	body.pique-sidebar.pique-singular .alignwide {
-		margin-left: -15%;
-		margin-right: -15%;
-		width: auto;
-		max-width: 1400px;
-	}
-
-	body.pique-sidebar.pique-singular .alignfull {
-		margin-left: calc(50% - 50vw);
-		margin-right: calc(50% - 50vw);
-		width: auto;
-		max-width: 1400px;
-	}
-
+	
 	/* Make non image-based blocks a bit narrower, so they don't get cut off. */
 	body.pique-sidebar.pique-singular .wp-block-columns.alignfull,
 	body.pique-sidebar.pique-singular .wp-block-audio.alignfull,
@@ -140,6 +127,7 @@ body.archive .wp-block-archives.alignfull {
 		margin-left: calc(50% - 48vw);
 		margin-right: calc(50% - 48vw);
 	}
+
 }
 
 /* Make sure the full and wide blocks still stay in Twenty Thirteen's wide container */