diff options
| author | Haishan <[email protected]> | 2020-07-01 22:06:26 +0800 |
|---|---|---|
| committer | Haishan <[email protected]> | 2020-07-04 17:58:56 +0800 |
| commit | 32bed273c83f0593187110d2b08a0f9ec5a7efd7 (patch) | |
| tree | 0b47da752de3ee0d87945c1122b2cf9d3bf8043f /src/components/Rules.module.css | |
| parent | 55e928a87f561ab927774834b50e099a0758522d (diff) | |
feat: support rule provider
Diffstat (limited to 'src/components/Rules.module.css')
| -rw-r--r-- | src/components/Rules.module.css | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/components/Rules.module.css b/src/components/Rules.module.css index 79a9626..6459e17 100644 --- a/src/components/Rules.module.css +++ b/src/components/Rules.module.css @@ -1 +1,21 @@ -/* */ +.header { + display: grid; + grid-template-columns: 1fr minmax(auto, 330px); + align-items: center; + + /* + * the content header has some padding + * we need to apply some right padding to this container then + */ + padding-right: 15px; + @media (--breakpoint-not-small) { + padding-right: 40px; + } +} + +.RuleProviderItemWrapper { + padding: 6px 15px; + @media (--breakpoint-not-small) { + padding: 10px 40px; + } +} |
