mirror of
https://github.com/discourse/discourse.git
synced 2025-01-16 16:32:45 +08:00
02113fc22a
We already had isIpadOS, but for some themes and components we really need to do different things if the user is on a tablet, including Android tablets. isTablet and isTabletScreen have been introduced to the capabilities service. isTablet is true if the screen size is a tablet, touch is detected, or we have already detected iPad OS, or the device matches tablet UAs isTabletScreen checks both portrait and landscape dimensions of 1280x600 which should cover most cases. |
||
---|---|---|
.. | ||
admin | ||
custom-proxy | ||
deprecation-silencer | ||
dialog-holder | ||
discourse | ||
discourse-common | ||
discourse-hbr | ||
discourse-i18n | ||
discourse-markdown-it | ||
discourse-plugins | ||
discourse-widget-hbs | ||
docs | ||
ember-addons | ||
ember-cli-progress-ci | ||
float-kit | ||
locales | ||
pretty-text | ||
select-kit | ||
theme-transpiler | ||
truth-helpers | ||
.npmrc | ||
handlebars-shim.js | ||
polyfills.js | ||
service-worker.js.erb |