Skip to content

Commit 2c7e9ea

Browse files
committed
Focus for responsive tables
See textpattern/textpattern#1577
1 parent dc4d815 commit 2c7e9ea

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

dist/hive/assets/css/textpattern.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/hiveneutral/assets/css/textpattern.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"dependencies": {
5050
"autosize": "4.0.2",
5151
"bootstrap": "3.4.1",
52+
"fibers": "5.0.0",
5253
"jquery": "3.5.1",
5354
"jquery-ui-dist": "1.12.1",
5455
"prismjs": "1.22.0",

src/assets/sass/modules/_tables.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@
1717
clear: both;
1818
/* 2 */
1919
overflow-x: auto;
20+
21+
&:focus {
22+
outline: thin solid $color-link-focus;
23+
}
24+
}
25+
26+
@include dark-mode {
27+
.txp-listtables:focus {
28+
outline: thin solid $dark-color-link-focus;
29+
}
2030
}
2131

2232
/**

0 commit comments

Comments
 (0)