mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-11-05 16:40:51 +01:00
feat: media query added
This commit is contained in:
1 parent
bebb5ee692
commit
d3e1e52e19
7 files changed
+45
No files matched your search
@@ -0,0 +1,6 @@
|
||||
var mediaQueries = mediaQueries || {};
|
||||
|
||||
mediaQueries.IsScreenWidthLessThen = function (width) {
|
||||
let mql = window.matchMedia(`(max-width: ${width}px)`);
|
||||
return mql.matches;
|
||||
};
|
||||
Reference in new issue
Block a user