Explorar o código

adjust styles

Yuki Takei %!s(int64=8) %!d(string=hai) anos
pai
achega
af52245d47
Modificáronse 2 ficheiros con 5 adicións e 2 borrados
  1. 2 2
      lib/views/modal/create_page.html
  2. 3 0
      resource/css/crowi.scss

+ 2 - 2
lib/views/modal/create_page.html

@@ -16,7 +16,7 @@
             </div>
             <div class="col-xs-10">
               <span class="page-today-prefix">{{ userPageRoot(user) }}/</span>
-              <input type="text" data-prefix="{{ userPageRoot(user) }}/" class="page-today-input1 form-control" value="{{ t('Memo') }}" id="" name="">
+              <input type="text" data-prefix="{{ userPageRoot(user) }}/" class="page-today-input1 form-control text-center" value="{{ t('Memo') }}" id="" name="">
               <span class="page-today-suffix">/{{ now|datetz('Y/m/d') }}/</span>
               <input type="text" data-prefix="/{{ now|datetz('Y/m/d') }}/" class="page-today-input2 form-control" id="page-today-input2" name="" placeholder="{{ t('Input page name (optional)') }}">
             </div>
@@ -29,7 +29,7 @@
 
         <form class="form-horizontal" id="create-page-under-tree" role="form">
           <fieldset>
-            <div class="col-xs-12">
+            <div class="col-xs-12 create-page-under-tree-label">
               <h4>{{ t('Create under', parentPath(path)) }}</h4>
             </div>
             <div class="col-xs-10">

+ 3 - 0
resource/css/crowi.scss

@@ -155,6 +155,9 @@ footer {
         min-width: 300px; // Workaround to display placeholder.
                           //   cf https://github.com/ericgio/react-bootstrap-typeahead/issues/256
       }
+      .create-page-under-tree-label code {
+        font-family: $font-family-monospace-not-strictly;
+      }
     }
   }
 }