-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #677 from WordPress/281-we-need-to-fix-mobile-ui-o…
…n-plugin-check-page Fix responsive table results
- Loading branch information
Showing
4 changed files
with
76 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
/* Responsive table */ | ||
@media screen and (max-width: 782px) { | ||
#plugin-check__submit { | ||
margin-top: 1em; | ||
} | ||
|
||
table#plugin-check__categories td { | ||
padding-bottom: .5em; | ||
} | ||
|
||
table.plugin-check__results-table { | ||
border: 0; | ||
} | ||
|
||
table.plugin-check__results-table caption { | ||
font-size: 1.3em; | ||
} | ||
|
||
table.plugin-check__results-table thead { | ||
border: none; | ||
clip: rect(0 0 0 0); | ||
height: 1px; | ||
margin: -1px; | ||
overflow: hidden; | ||
padding: 0; | ||
position: absolute; | ||
width: 1px; | ||
} | ||
|
||
table.plugin-check__results-table tr { | ||
border-bottom: 3px solid #ddd; | ||
display: block; | ||
} | ||
|
||
table.plugin-check__results-table td, | ||
table.plugin-check__results-table code { | ||
font-size: .9em; | ||
} | ||
|
||
table.plugin-check__results-table td { | ||
border-bottom: 1px solid #ddd; | ||
display: block; | ||
text-align: right; | ||
} | ||
|
||
table.plugin-check__results-table td::before { | ||
content: attr(data-label); | ||
float: left; | ||
font-weight: bold; | ||
} | ||
|
||
.rtl table.plugin-check__results-table td { | ||
text-align: left; | ||
} | ||
|
||
.rtl table.plugin-check__results-table td::before { | ||
float: right; | ||
} | ||
|
||
table.plugin-check__results-table td:last-child { | ||
border-bottom: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters