Skip to content

Commit 1fc9ffe

Browse files
Stephan AngoStephan Ango
authored andcommitted
Improvements to settings on phone
1 parent c520f9a commit 1fc9ffe

File tree

1 file changed

+45
-5
lines changed

1 file changed

+45
-5
lines changed

obsidian.css

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
Minimal Obsidian 3.0.7 by @kepano
3+
Minimal Obsidian 3.0.8 by @kepano
44
55
This theme is designed to be used with the Minimal Theme Settings
66
plugin and the Hider plugin.
@@ -3637,6 +3637,7 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
36373637
.is-mobile .modal-setting-back-button {
36383638
padding:20px;
36393639
background-color:var(--color-background);
3640+
box-shadow:none;
36403641
}
36413642
.is-mobile .hotkey-list-container .setting-command-hotkeys {
36423643
flex:unset;
@@ -3801,6 +3802,42 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
38013802
font-size:14px;
38023803
height:32px;
38033804
}
3805+
.is-mobile .modal .vertical-tab-header-group:last-child,
3806+
.is-mobile .modal .vertical-tab-content .setting-item:last-child {
3807+
padding-bottom:70px;
3808+
}
3809+
.pull-out-action {
3810+
top:0;
3811+
height:100vh;
3812+
padding:30px 10px;
3813+
background:transparent;
3814+
display:flex;
3815+
justify-content:center;
3816+
align-content:center;
3817+
flex-direction:column;
3818+
}
3819+
.is-mobile .markdown-preview-view pre {
3820+
overflow-x:scroll;
3821+
}
3822+
/* Sync */
3823+
.is-mobile .sync-history-list {
3824+
padding:10px;
3825+
background-color:var(--background-primary);
3826+
}
3827+
.is-mobile .sync-history-list-item {
3828+
font-size:var(--font-adaptive-small);
3829+
padding:8px 10px;
3830+
}
3831+
.is-mobile .sync-history-content-container .modal-button-container {
3832+
padding:5px 10px 30px 10px;
3833+
}
3834+
3835+
.is-mobile .sync-history-content {
3836+
outline:none;
3837+
-webkit-appearance:none;
3838+
border:0;
3839+
background-color:var(--background-secondary);
3840+
}
38043841

38053842
/* --------------- */
38063843
/* Phone styling */
@@ -3858,6 +3895,12 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
38583895
height:calc(100vh + 50px);
38593896
z-index:9;
38603897
}
3898+
.is-mobile .modal .vertical-tab-header-group-title {
3899+
padding:20px 20px 10px;
3900+
}
3901+
.is-mobile .modal .vertical-tab-nav-item {
3902+
padding:3px 20px;
3903+
}
38613904
.is-ios .workspace-drawer-ribbon {
38623905
padding:40px 0 20px 0;
38633906
}
@@ -3919,9 +3962,6 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
39193962
margin-bottom:-15px;
39203963
overflow:hidden;
39213964
}
3922-
.is-mobile .modal .vertical-tab-header-group {
3923-
padding-bottom:30px;
3924-
}
39253965
.is-mobile .modal-container .modal.mod-settings .vertical-tabs-container {
39263966
transform:translateZ(0);
39273967
}
@@ -4004,4 +4044,4 @@ body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
40044044
padding:15px;
40054045
border-radius:15px;
40064046
}
4007-
}
4047+
}

0 commit comments

Comments
 (0)