Project

General

Profile

Defect #42773 » align-preview-and-saved-padding.diff

Mizuki ISHIKAWA, 2025-05-26 06:22

View differences:

app/assets/stylesheets/application.css
1091 1091

  
1092 1092
.jstBlock .jstTabs { padding-right: 6px; }
1093 1093
.jstBlock .wiki-preview { padding: 2px; }
1094
.jstBlock .wiki-preview p:first-child { padding-top: 0 !important; margin-top: 0 !important;}
1095
.jstBlock .wiki-preview p:last-child { padding-bottom: 0 !important; margin-bottom: 0 !important;}
1094
.jstBlock .wiki-preview > p:first-child { padding-top: 0 !important; margin-top: 0 !important;}
1095
.jstBlock .wiki-preview > p:last-child { padding-bottom: 0 !important; margin-bottom: 0 !important;}
1096 1096

  
1097 1097
.tabular .wiki-preview, .tabular .jstTabs {width: 95%;}
1098 1098
.tabular.settings .wiki-preview, .tabular.settings .jstTabs { width: 99%; }
1099 1099
.tabular.settings .wiki-preview p {padding-left: 0 !important}
1100 1100
.tabular .wiki-preview p {
1101 1101
  min-height: initial;
1102
  padding: 0;
1103
  padding-top: 1em !important;
1104
  padding-bottom: 1em !important;
1105 1102
  overflow: initial;
1106 1103
}
1107 1104

  
......
1595 1592
div.wiki a {word-wrap: break-word;}
1596 1593
div.wiki a.new {color: #b73535;}
1597 1594

  
1598
div.wiki p {line-height: 1.6;}
1595
div.wiki p {
1596
  line-height: 1.6;
1597
  margin-top: 1em;
1598
  margin-bottom: 1em;
1599
  padding: 0;
1600
}
1599 1601
div.wiki ul, div.wiki ol {margin-bottom:1em;}
1600 1602
div.wiki li {line-height: 1.6; margin-bottom: 0.125rem;}
1601 1603
div.wiki li>ul, div.wiki li>ol {margin-bottom: 0;}
(5-5/15)