Просмотр исходного кода

Merge pull request #4124 from weseek/imprv/GW-7002-margin

adjust margins
Yuki Takei 4 лет назад
Родитель
Сommit
070184bfe7
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      src/client/js/components/Sidebar/RecentChanges.jsx

+ 5 - 5
src/client/js/components/Sidebar/RecentChanges.jsx

@@ -74,20 +74,20 @@ class RecentChanges extends React.Component {
 
 
 
 
     return (
     return (
-      <li className="list-group-item p-2">
+      <li className="list-group-item py-3 px-0">
         <div className="d-flex w-100">
         <div className="d-flex w-100">
           <UserPicture user={page.lastUpdateUser} size="md" noTooltip />
           <UserPicture user={page.lastUpdateUser} size="md" noTooltip />
           <div className="flex-grow-1 ml-2">
           <div className="flex-grow-1 ml-2">
             { !dPagePath.isRoot && <FormerLink /> }
             { !dPagePath.isRoot && <FormerLink /> }
-            <h5 className="mb-1">
+            <h5 className="my-2">
               <PagePathHierarchicalLink linkedPagePath={linkedPagePathLatter} basePath={dPagePath.isRoot ? undefined : dPagePath.former} />
               <PagePathHierarchicalLink linkedPagePath={linkedPagePathLatter} basePath={dPagePath.isRoot ? undefined : dPagePath.former} />
               {locked}
               {locked}
             </h5>
             </h5>
-            <div className="mt-2">
+            <div>
               { tagElements }
               { tagElements }
             </div>
             </div>
-            <div className="d-flex justify-content-between grw-recent-changes-item-lower">
-              <div className="mt-2">
+            <div className="d-flex justify-content-between grw-recent-changes-item-lower mt-1">
+              <div>
                 <span className="footstamp-icon mr-1"><FootstampIcon /></span>
                 <span className="footstamp-icon mr-1"><FootstampIcon /></span>
                 <span className="mr-2 grw-list-counts">{page.seenUsers.length}</span>
                 <span className="mr-2 grw-list-counts">{page.seenUsers.length}</span>
                 <i className="icon-bubble mr-1"></i>
                 <i className="icon-bubble mr-1"></i>