About: fix content padding is not correct on some browser

This commit is contained in:
Xuan Sang LE
2020-06-05 22:07:00 +02:00
parent 8e15115dc6
commit 2af909117d
11 changed files with 177 additions and 10 deletions

View File

@ -4,6 +4,10 @@ This is an example project, generated by AntOS Development Kit
It is used to show the change logs of the current AntOS version
## Change logs
### v0.0.5-a
* Fix cotent padding is not correct on some browsers
### v0.0.4-a
* Add color style to link
* Fix some minor bugs

View File

@ -4,4 +4,13 @@ afx-app-window[data-id = "About"] a:visited,
afx-app-window[data-id = "About"] a:hover
{
color:#df3154;
}
afx-app-window[data-id = "About"] afx-hbox[data-id="wrapper"]
{
overflow-x: hidden;
overflow-y:auto;
}
afx-app-window[data-id = "About"] div[data-id="container"]
{
text-align: justify;
}

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE",
"email": "xsang.le@gmail.com"
},
"version":"0.0.4-a",
"version":"0.0.5-a",
"category":"Other",
"iconclass":"fa fa-question-circle",
"mimes":["none"],

View File

@ -1,10 +1,16 @@
<afx-app-window apptitle="__(About AntOS)" width="450" height="500" data-id="About">
<afx-vbox >
<div data-id="container" style="padding:10px;overflow:auto;"></div>
<afx-hbox data-height="30" style="text-align: right;">
<div data-height="10"></div>
<afx-hbox data-id="wrapper">
<div data-width="10"></div>
<div data-id="container"></div>
<div data-width="10"></div>
</afx-hbox>
<div data-height="5"></div>
<afx-hbox data-height="23" style="text-align: right;">
<afx-button data-id="btnclose" text="__(Close)"></afx-button>
<div data-width="5"></div>
</afx-hbox>
<div data-height="5"></div>
<div data-height="10"></div>
</afx-vbox>
</afx-app-window>