Skip to content

Commit 869ae00

Browse files
Stephan AngoStephan Ango
authored andcommitted
Fix small suggestion box bug on iPad
1 parent d8c108f commit 869ae00

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

obsidian.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Minimal Obsidian 3.1.0 by @kepano
3+
Minimal Obsidian 3.1.1 by @kepano
44
55
This theme is designed to be used with the Minimal Theme Settings
66
plugin and the Hider plugin.
@@ -3633,7 +3633,6 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
36333633
width:100vw;
36343634
max-height:80vh;
36353635
}
3636-
36373636
.is-mobile .nav-buttons-container {
36383637
padding:0 0 10px 15px;
36393638
}
@@ -4080,13 +4079,20 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
40804079
background-color:var(--background-tertiary);
40814080
box-shadow:0 0 0 2px var(--background-tertiary);
40824081
}
4083-
.is-mobile .prompt, .is-mobile .suggestion-container {
4082+
.is-mobile .prompt {
40844083
max-width:600px;
40854084
max-height:600px;
40864085
bottom:auto !important;
40874086
border-radius:20px;
40884087
top:100px !important;
40894088
}
4089+
.is-mobile .suggestion-container {
4090+
max-width:600px;
4091+
max-height:600px;
4092+
border-radius:20px;
4093+
bottom:80px;
4094+
border:1px solid var(--background-modifier-border);
4095+
}
40904096
.is-mobile .modal-container .suggestion-item {
40914097
padding:10px 5px 10px 10px;
40924098
border-radius:8px;
@@ -4110,6 +4116,7 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
41104116
}
41114117
/* Animations */
41124118
.is-mobile .menu,
4119+
.is-mobile .suggestion-container,
41134120
.is-mobile .modal,
41144121
.is-mobile .prompt {
41154122
transition:unset !important;

0 commit comments

Comments
 (0)