瀏覽代碼

Button 2: Fix My Account buttons spacing issue. See #28.

Danny Dudzic 7 年之前
父節點
當前提交
c5bff0c4e2
共有 3 個文件被更改,包括 7 次插入3 次删除
  1. 1 1
      button-2/style.css
  2. 3 1
      button-2/woocommerce-rtl.css
  3. 3 1
      button-2/woocommerce.css

+ 1 - 1
button-2/style.css

@@ -4,7 +4,7 @@ Theme URI: http://wordpress.com/themes/button-2/
 Author: Automattic
 Author: Automattic
 Author URI: http://automattic.com
 Author URI: http://automattic.com
 Description: A stylish, lighthearted theme for crafters, hobbyists, and creatives.
 Description: A stylish, lighthearted theme for crafters, hobbyists, and creatives.
-Version: 2.1-wpcom
+Version: 2.1.1-wpcom
 License: GNU General Public License v2 or later
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: button
 Text Domain: button

+ 3 - 1
button-2/woocommerce-rtl.css

@@ -504,7 +504,9 @@ table.cart .product-remove a {
 
 
 .woocommerce-account .woocommerce-MyAccount-content .button {
 .woocommerce-account .woocommerce-MyAccount-content .button {
   word-wrap: normal;
   word-wrap: normal;
-  word-break: normal; }
+  word-break: normal;
+  display: inline-block;
+  margin: .5em; }
 
 
 @media screen and (min-width: 768px) {
 @media screen and (min-width: 768px) {
   .woocommerce-account .woocommerce-MyAccount-navigation {
   .woocommerce-account .woocommerce-MyAccount-navigation {

+ 3 - 1
button-2/woocommerce.css

@@ -504,7 +504,9 @@ table.cart .product-remove a {
 
 
 .woocommerce-account .woocommerce-MyAccount-content .button {
 .woocommerce-account .woocommerce-MyAccount-content .button {
   word-wrap: normal;
   word-wrap: normal;
-  word-break: normal; }
+  word-break: normal;
+  display: inline-block;
+  margin: .5em; }
 
 
 @media screen and (min-width: 768px) {
 @media screen and (min-width: 768px) {
   .woocommerce-account .woocommerce-MyAccount-navigation {
   .woocommerce-account .woocommerce-MyAccount-navigation {