com web/php: Mark up field synopses like method synopses.: styles/theme-base.css styles/theme-medium.css
| From: | Adam Harvey | Date: | Tue, 30 Dec 2014 20:05:31 +0000 |
| Subject: | com web/php: Mark up field synopses like method synopses.: styles/theme-base.css styles/theme-medium.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-20444@lists.php.net to get a copy of this message | ||
Commit: c75362f02cc34be9224f2b8be2a77e0a0f8a3ca9
Author: Adam Harvey <aharvey@php.net> Tue, 30 Dec 2014 12:04:50 -0800
Parents: bb7599d48d48008de6c19b8cba2e3c5ddc2a4118
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=c75362f02cc34be9224f2b8be2a77e0a0f8a3ca9
Log:
Mark up field synopses like method synopses.
The right fix is probably to apply the dc-description class in PhD, but this at
least gets us the right formatting for now.
Fixes bug #68699 (Styling on OO/procedural fields is poor).
Bugs:
https://bugs..php.net/68699
Changed paths:
M styles/theme-base.css
M styles/theme-medium.css
Diff:
diff --git a/styles/theme-base.css b/styles/theme-base.css
index 347f497..b6d6294 100755
--- a/styles/theme-base.css
+++ b/styles/theme-base.css
@@ -1297,6 +1297,7 @@ div.tip p:first-child {
}
.docs .classsynopsis,
+.docs .fieldsynopsis,
.refsect1 .dc-description,
.docs .sect1 .dc-description {
padding: .75rem;
diff --git a/styles/theme-medium.css b/styles/theme-medium.css
index 7efe67a..e381714 100755
--- a/styles/theme-medium.css
+++ b/styles/theme-medium.css
@@ -160,6 +160,7 @@ div.warning {
}
.docs .classsynopsis,
+.docs .fieldsynopsis,
.refsect1 .dc-description,
.docs .sect1 .dc-description,
div.tip,
@@ -323,6 +324,7 @@ div.warning a:focus {
background-color: #fff;
}
.docs .classsynopsis,
+.docs ..fieldsynopsis,
.refsect1 .dc-description,
.docs .sect1 .dc-description {
background:#fff;