make sure the promoted attributes don't take the whole screen in mobile, #4468

This commit is contained in:
zadam 2023-11-24 00:04:49 +01:00
parent 722299dd26
commit 8742e4bfe9

View File

@ -8,8 +8,14 @@ import options from "../../services/options.js";
import utils from "../../services/utils.js";
const TPL = `
<div>
<div class="promoted-attributes-widget">
<style>
body.mobile .promoted-attributes-widget {
/* https://github.com/zadam/trilium/issues/4468 */
flex-shrink: 0.4;
overflow: auto;
}
.promoted-attributes-container {
margin: auto;
display: flex;