Skip to content

Commit 88be5ce

Browse files
authored
Merge pull request #41 from rootstrap/pages
Fix documentation responsiveness on mobile screens. Upgrade to version 1.0.0
2 parents 2d1caa1 + e18dbe7 commit 88be5ce

6 files changed

Lines changed: 28 additions & 15 deletions

File tree

ExampleApp Android/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ android {
1212
minSdk = (ExampleAppAndroidConfig.MIN_SDK)
1313
targetSdk = (ExampleAppAndroidConfig.TARGET_SDK)
1414
versionCode = 1
15-
versionName = "0.0.2"
15+
versionName = "1.0.0"
1616

1717
testInstrumentationRunner = ExampleAppAndroidConfig.ANDROID_TEST_INSTRUMENTATION_RUNNER
1818
}

FlowForms-Core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group = "com.rootstrap"
9-
version = "0.0.3"
9+
version = "1.0.0"
1010

1111
kotlin {
1212
android {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Based on your project, add FlowForms dependency in your module's build.gradle fi
6565
```kotlin
6666
dependencies {
6767
..
68-
val flowFormsVersion = "0.0.3"
68+
val flowFormsVersion = "1.0.0"
6969

7070
// On KMP projects
7171
implementation("com.github.rootstrap.FlowForms:FlowForms-Core:$flowFormsVersion")

docs/_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
56
<title>{{ page.title }}</title>
67
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/styles.css">
78
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/fontawesome.all.min.css">

docs/_sass/main.scss

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
html {
2-
32
padding: 3em 1em;
43
margin: auto;
54
line-height: 1.75;
65
font-size: 1em;
76
text-align: justify;
8-
97
}
108

119
h1,h2,h3,h4,h5,h6 {
@@ -102,6 +100,7 @@ a {
102100

103101
.badges-container {
104102
margin-top: 16px;
103+
flex-wrap: wrap;
105104
}
106105

107106
.badges-container a {
@@ -147,6 +146,8 @@ a {
147146
top: 0px;
148147
left: 0px;
149148
padding: 0px;
149+
bottom: 0px;
150+
margin-bottom: 0px;
150151
transform: translate(-200px, 0px);
151152
transition: all 0.4s ease 0s;
152153
}
@@ -189,8 +190,10 @@ a {
189190
#sidebar-wrapper .sidebar-nav {
190191
background: #2b2b2b;
191192
width: 200px;
192-
height: 100vh;
193+
height: 100%;
193194
margin-top: 0px;
195+
overflow-y: auto;
196+
overflow-x: hidden;
194197
padding: 0px;
195198
position: fixed;
196199
left: 0px;
@@ -200,13 +203,6 @@ a {
200203
transition: all 0.5s ease;
201204
}
202205

203-
@media only screen and (max-width: 768px) {
204-
205-
#sidebar-empty-space {
206-
display: none;
207-
}
208-
}
209-
210206
#page-content-wrapper {
211207
width: 100%;
212208
}
@@ -254,3 +250,19 @@ a {
254250
.current-nav-option {
255251
color: green;
256252
}
253+
254+
@media only screen and (max-width: 768px) {
255+
256+
#sidebar-empty-space {
257+
display: none;
258+
}
259+
260+
html {
261+
padding: 3em 1em;
262+
margin: auto;
263+
line-height: 1.75;
264+
font-size: 1em;
265+
text-align: start;
266+
}
267+
268+
}

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Flow Forms, Declarative and reactive form management library
55

66
<div class="rs-column center-second-axis">
77
<a href="http://www.rootstrap.com"> <img src="https://s3-us-west-1.amazonaws.com/rootstrap.com/img/rs.png" width="100"/> </a>
8-
<img src="{{site.baseurl}}/images/logotype-FlowForms-transparent.png" width="400" class="logotype-header">
8+
<img src="{{site.baseurl}}/images/logotype-FlowForms-transparent.png" width="75%" class="logotype-header">
99
<div class="rs-row center-main-axis badges-container">
1010
<a href="https://jitpack.io/#rootstrap/FlowForms"> <img src="https://jitpack.io/v/rootstrap/FlowForms.svg" /> </a>
1111
<a href="https://www.contributor-covenant.org/version/2/1/code_of_conduct/"> <img src="https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg" /> </a>
@@ -38,7 +38,7 @@ Add FlowForms dependency in your module's build.gradle file :
3838
<pre><code class="kotlin">
3939
dependencies {
4040
..
41-
val flowFormsVersion = "0.0.3"
41+
val flowFormsVersion = "1.0.0"
4242

4343
// On KMP projects
4444
implementation("com.github.rootstrap.FlowForms:FlowForms-Core:$flowFormsVersion")

0 commit comments

Comments
 (0)