Przeglądaj źródła

made the margin smaller at the search page.

白石誠 5 lat temu
rodzic
commit
ed5b3273c0

+ 1 - 1
src/client/js/components/SearchPage/SearchResult.jsx

@@ -184,7 +184,7 @@ class SearchResult extends React.Component {
       // Add prefix 'id_' in pageId, because scrollspy of bootstrap doesn't work when the first letter of id attr of target component is numeral.
       // Add prefix 'id_' in pageId, because scrollspy of bootstrap doesn't work when the first letter of id attr of target component is numeral.
       const pageId = `#id_${page._id}`;
       const pageId = `#id_${page._id}`;
       return (
       return (
-        <li key={page._id} className="nav-item page-list-li w-100">
+        <li key={page._id} className="nav-item page-list-li w-100 m-1">
           <a className="nav-link page-list-link d-flex align-items-center" href={pageId}>
           <a className="nav-link page-list-link d-flex align-items-center" href={pageId}>
             <Page page={page} noLink />
             <Page page={page} noLink />
             <div className="ml-auto d-flex">
             <div className="ml-auto d-flex">

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

@@ -9,7 +9,6 @@ body .page-list {
     margin: 0;
     margin: 0;
 
 
     > li {
     > li {
-      margin: 0.5rem;
       list-style: none;
       list-style: none;
 
 
       > a {
       > a {