Mao 4 лет назад
Родитель
Сommit
537ed5be87

+ 0 - 2
packages/app/src/components/SearchPage/SearchControl.tsx

@@ -120,7 +120,6 @@ const SearchControl: FC <Props> = (props: Props) => {
         </div>
         <div className="d-none d-lg-flex align-items-center mr-4">
           <div className="border border-gray mr-3">
-            {/* By defualt font weight is 700 (_override-bootstrap.scss) */}
             <label className="px-3 py-2 mb-0 d-flex align-items-center text-secondary with-no-font-weight" htmlFor="flexCheckDefault">
               <input
                 className="mr-2"
@@ -132,7 +131,6 @@ const SearchControl: FC <Props> = (props: Props) => {
             </label>
           </div>
           <div className="border border-gray">
-            {/* By defualt font weight is 700 (_override-bootstrap.scss) */}
             <label className="px-3 py-2 mb-0 d-flex align-items-center text-secondary with-no-font-weight" htmlFor="flexCheckChecked">
               <input
                 className="mr-2"

+ 5 - 2
packages/app/src/styles/_override-bootstrap.scss

@@ -153,8 +153,11 @@
 
   // label
 
-  label:not(.with-no-font-weight) {
-    font-weight: 700;
+  label {
+    // search control include path btn
+    :not(.with-no-font-weight) {
+      font-weight: 700;
+    }
   }
 
   // disabled button (reproduction from bootstrap3.)