Procházet zdrojové kódy

Fix style for adding a new location in settings.

Lee Morgan před 5 roky
rodič
revize
181d895ea6

+ 11 - 0
views/dashboardPage/dashboard.css

@@ -598,6 +598,17 @@ ACCOUNT STRAND
                 border-bottom: 1px solid black;
             }
 
+                .newLocationButtons{
+                    display: flex;
+                    align-items: center;
+                }
+
+                    .newLocationButtons h1{
+                        padding: 0;
+                        margin-right: 15px;
+                    }
+
+
     #accountUpdate{
         max-width: 500px;
     }

+ 4 - 2
views/dashboardPage/ejs/strands/account.ejs

@@ -19,7 +19,9 @@
             <div class="settingsSectionHeader">
                 <h2>YOUR LOCATIONS</h2>
 
-                <div>
+                <div class="newLocationButtons">
+                    <h1>NEW:</h1>
+
                     <button id="newMerchantSquareButton" type="button">
                         <svg aria-hidden="true" viewBox="0 0 44 44" width="24" height="24">
                             <path fill="currentColor" d="M36.65 0H7.354A7.354 7.354 0 0 0 0 7.354V36.65a7.354 7.354 0 0 0 7.354 7.354H36.65a7.353 7.353 0 0 0 7.354-7.354V7.354A7.352 7.352 0 0 0 36.65 0zm-.646 33.685a2.32 2.32 0 0 1-2.32 2.32H10.325a2.32 2.32 0 0 1-2.321-2.32v-23.36a2.32 2.32 0 0 1 2.321-2.321h23.359a2.32 2.32 0 0 1 2.32 2.321v23.36z"></path>
@@ -35,7 +37,7 @@
                         </svg>
                     </button>
 
-                    <button id="settingsAddMerchant" class="button">NEW LOCATION</button>
+                    <button id="settingsAddMerchant" class="button">NO POS</button>
                 </div>
             </div>