Skip to content

Commit 7da9280

Browse files
committed
v0.27.0-alpha.3
1 parent ab04175 commit 7da9280

File tree

5 files changed

+23
-12
lines changed

5 files changed

+23
-12
lines changed

assets/breakout.css

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
}
3131

3232
/* Tables are so special :( */
33-
&:is(table) {
33+
&:is(table):not(.does-not-exist) {
34+
/* @TODO: add postcss's `:not(.does-not-exist)` to tricks-wiki */
3435
/* Let them full-bleed */
3536
width: max-content;
3637
min-width: auto;
@@ -41,6 +42,10 @@
4142
display: block;
4243
overflow-x: auto;
4344
-webkit-overflow-scrolling: touch; /* Smooth scroll for iOS */
45+
46+
td {
47+
padding-inline-start: 0;
48+
}
4449
}
4550

4651
/* Max out the width of the element */
@@ -58,8 +63,8 @@
5863
content: "";
5964
display: block;
6065
position: absolute;
61-
background: lightgray;
62-
opacity: 50%;
66+
background: gray;
67+
opacity: 12.5%;
6368
}
6469
}
6570

@@ -71,7 +76,7 @@
7176
height: 0.25em;
7277
top: 50%;
7378
transform: translateY(-50%);
74-
background: linear-gradient(to left, lightgray, gainsboro 10%, transparent);
79+
background: linear-gradient(to left, gray, transparent);
7580
}
7681

7782
&:where(hr + &) {

assets/bricks.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ pre {
7171
}
7272

7373
/* Tables are so special :( */
74-
&:is(table) {
74+
&:is(table):not(.does-not-exist) {
75+
/* @TODO: add postcss's `:not(.does-not-exist)` to tricks-wiki */
7576
/* Let them full-bleed */
7677
width: max-content;
7778
min-width: auto;
@@ -82,6 +83,10 @@ pre {
8283
display: block;
8384
overflow-x: auto;
8485
-webkit-overflow-scrolling: touch; /* Smooth scroll for iOS */
86+
87+
td {
88+
padding-inline-start: 0;
89+
}
8590
}
8691

8792
/* Max out the width of the element */
@@ -99,8 +104,8 @@ pre {
99104
content: "";
100105
display: block;
101106
position: absolute;
102-
background: lightgray;
103-
opacity: 50%;
107+
background: gray;
108+
opacity: 12.5%;
104109
}
105110
}
106111

@@ -112,7 +117,7 @@ pre {
112117
height: 0.25em;
113118
top: 50%;
114119
transform: translateY(-50%);
115-
background: linear-gradient(to left, lightgray, gainsboro 10%, transparent);
120+
background: linear-gradient(to left, gray, transparent);
116121
}
117122

118123
&:where(hr + &) {
@@ -140,6 +145,7 @@ pre {
140145
/* @import "./_util"; */
141146

142147
table.borderless {
148+
th,
143149
td {
144150
border: none;
145151
}

bricks.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "bricks"
5-
spec.version = "0.27.0-alpha"
5+
spec.version = "0.27.0-alpha.3"
66
spec.authors = ["Anton Staroverov"]
77

88
spec.summary = "Framework-agnostic CSS utilities and single-file Liquid 'bricks' for modern web development."

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@anydigital/bricks",
3-
"version": "0.27.0-alpha.2",
3+
"version": "0.27.0-alpha.3",
44
"description": "Framework-agnostic CSS utilities and single-file Liquid 'bricks' for modern web development.",
55
"style": "./src/bricks.css",
66
"exports": {

0 commit comments

Comments
 (0)