summaryrefslogtreecommitdiff
path: root/src/components/Rules.module.scss
diff options
context:
space:
mode:
authorHaishan <[email protected]>2021-06-06 00:32:24 +0800
committerHaishan <[email protected]>2021-06-06 00:33:22 +0800
commit5ff2f89afb71fd2976c487692ec73085241e09c7 (patch)
treefe7a53d8839b1406e4ff31a2fa8a543669c7693f /src/components/Rules.module.scss
parent25dbe5eff483bfdceec677b13ad4ec905c5fe566 (diff)
Stop use postcss-nested postcss-extend-rule
Diffstat (limited to 'src/components/Rules.module.scss')
-rw-r--r--src/components/Rules.module.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/components/Rules.module.scss b/src/components/Rules.module.scss
new file mode 100644
index 0000000..6459e17
--- /dev/null
+++ b/src/components/Rules.module.scss
@@ -0,0 +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;
+ }
+}