Skip to content

Commit

Permalink
Merge pull request #12 from Lullabot/11--regression-in-media-queries-…
Browse files Browse the repository at this point in the history
…using-logical-properties

reverting media queries
  • Loading branch information
Javi-er authored Nov 27, 2024
2 parents 6328654 + 529025c commit 60ee0fd
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/styles.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/theme.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/theme.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/styles/tabled_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -219,27 +219,27 @@ table.tabled__table {
display: flex;
flex-flow: column wrap;

@media (min-inline-size: $breakpoint-large) {
@media (min-width: $breakpoint-large) {
display: table-cell;
}

&:before {
display: block;
content: attr(data-label);
@media (min-inline-size: $breakpoint-large) {
@media (min-width: $breakpoint-large) {
display: none;
}
}
}

tr {
@media (min-inline-size: $breakpoint-large) {
@media (min-width: $breakpoint-large) {
display: table-row;
}
}

thead th {
@media (max-inline-size: $breakpoint-large) {
@media (max-width: $breakpoint-large) {
@include visually-hidden;
padding: 0;
}
Expand Down
4 changes: 2 additions & 2 deletions src/styles/tabled_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ table {
border-block-end: 8px solid var(--tabled-color-700);
padding: var(--tabled-v-space-4xs) 0 0;

@media (min-inline-size: 1024px) {
@media (min-width: 1024px) {
padding: var(--tabled-v-space-3xs) var(--tabled-v-space-2xs);
}

Expand Down Expand Up @@ -115,7 +115,7 @@ table.tabled--stacked {
}


@media (max-inline-size: 1024px) {
@media (max-width: 1024px) {
tr {
border-inline-start: 0;
border-inline-end: 0;
Expand Down

0 comments on commit 60ee0fd

Please sign in to comment.