Parcourir la source

remove border

itizawa il y a 5 ans
Parent
commit
274c2e8699

+ 1 - 1
src/client/js/components/PageEditor/HandsontableModal.jsx

@@ -437,7 +437,7 @@ export default class HandsontableModal extends React.PureComponent {
           Edit Table
           Edit Table
         </ModalHeader>
         </ModalHeader>
         <ModalBody className="p-0 d-flex flex-column">
         <ModalBody className="p-0 d-flex flex-column">
-          <div className="px-4 py-3 modal-navbar bg-light">
+          <div className="px-4 py-3 border-bottom bg-light">
             <button
             <button
               type="button"
               type="button"
               className="mr-4 data-import-button btn btn-secondary"
               className="mr-4 data-import-button btn btn-secondary"

+ 0 - 4
src/client/styles/scss/_handsontable.scss

@@ -23,10 +23,6 @@
 .modal.in .modal-dialog.handsontable-modal {
 .modal.in .modal-dialog.handsontable-modal {
   transform: none;
   transform: none;
 
 
-  .modal-navbar {
-    border-bottom: $border 1px solid;
-  }
-
   .data-import-button {
   .data-import-button {
     position: relative;
     position: relative;
     padding-right: 35px;
     padding-right: 35px;

+ 1 - 1
src/client/styles/scss/_page.scss

@@ -35,7 +35,7 @@
     .revision-history-outer {
     .revision-history-outer {
       // add border-top except of first element
       // add border-top except of first element
       &:not(:first-of-type) {
       &:not(:first-of-type) {
-        border-top: 1px solid $border;
+        @extend .border-top;
       }
       }
 
 
       .revision-history-main {
       .revision-history-main {

+ 0 - 1
src/client/styles/scss/_variables.scss

@@ -1,7 +1,6 @@
 //== GROWI Official Color
 //== GROWI Official Color
 $growi-green: #74bc46;
 $growi-green: #74bc46;
 $growi-blue: #175fa5;
 $growi-blue: #175fa5;
-$border: #f0f0f0 !default;
 
 
 $font-family-for-staff-credit: Lato, -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif !default;
 $font-family-for-staff-credit: Lato, -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif !default;
 $font-family-monospace-not-strictly: Monaco, Menlo, Consolas, 'Courier New', MeiryoKe_Gothic, monospace;
 $font-family-monospace-not-strictly: Monaco, Menlo, Consolas, 'Courier New', MeiryoKe_Gothic, monospace;