Pārlūkot izejas kodu

Elegant Business: Temp fix for Jetpack Business Hours Block style

Takashi Irie 6 gadi atpakaļ
vecāks
revīzija
d3cd2f88cc

+ 16 - 0
elegant-business/style-editor.css

@@ -802,3 +802,19 @@ ul.wp-block-archives li ul,
 .wp-block[data-type="core/freeform"] .mce-btn i {
 .wp-block[data-type="core/freeform"] .mce-btn i {
   font-family: dashicons !important;
   font-family: dashicons !important;
 }
 }
+
+/** === Business Hours Block - Temp Fix === */
+.wp-block-jetpack-business-hours dt,
+.wp-block-jetpack-business-hours dd {
+  float: left;
+}
+
+.wp-block-jetpack-business-hours dt {
+  clear: both;
+  font-weight: bold;
+  margin-right: 0.5rem;
+}
+
+.wp-block-jetpack-business-hours dd {
+  margin: 0;
+}

+ 19 - 0
elegant-business/style-editor.scss

@@ -780,3 +780,22 @@ ul.wp-block-archives,
 .wp-block[data-type="core/freeform"] .mce-btn i {
 .wp-block[data-type="core/freeform"] .mce-btn i {
 	font-family: dashicons !important;
 	font-family: dashicons !important;
 }
 }
+
+/** === Business Hours Block - Temp Fix === */
+
+.wp-block-jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		font-weight: bold;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}

+ 18 - 0
elegant-business/style-jetpack.css

@@ -95,3 +95,21 @@ div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedp
 .contact-form label span {
 .contact-form label span {
   color: #767676;
   color: #767676;
 }
 }
+
+/**
+ * Blocks
+ */
+/* Business Hours - Temp Fix */
+.jetpack-business-hours dt,
+.jetpack-business-hours dd {
+  float: left;
+}
+
+.jetpack-business-hours dt {
+  clear: both;
+  margin-right: 0.5rem;
+}
+
+.jetpack-business-hours dd {
+  margin: 0;
+}

+ 22 - 1
elegant-business/style-jetpack.scss

@@ -110,4 +110,25 @@ div#jp-relatedposts div.jp-relatedposts-items .jp-relatedposts-post .jp-relatedp
 
 
 .contact-form label span {
 .contact-form label span {
 	color: #767676;
 	color: #767676;
-}
+}
+
+/**
+ * Blocks
+ */
+
+/* Business Hours - Temp Fix */
+.jetpack-business-hours {
+	dt,
+	dd {
+		float: left;
+	}
+
+	dt {
+		clear: both;
+		margin-right: ( $size__spacing-unit * .5 );
+	}
+
+	dd {
+		margin: 0;
+	}
+}