Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
b4590d6b
Commit
b4590d6b
authored
Jan 24, 2018
by
Hi-Linlin
Committed by
GitHub
Jan 24, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9428 from Leopoldthecoder/dialog/style
Dialog: update paddings
parents
bd47ee7d
81a7ef76
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
10 deletions
+4
-10
build/bin/build-entry.js
build/bin/build-entry.js
+1
-1
packages/theme-chalk/src/common/var.scss
packages/theme-chalk/src/common/var.scss
+1
-1
packages/theme-chalk/src/dialog.scss
packages/theme-chalk/src/dialog.scss
+1
-7
src/index.js
src/index.js
+1
-1
No files found.
build/bin/build-entry.js
View file @
b4590d6b
...
@@ -46,7 +46,7 @@ const install = function(Vue, opts = {}) {
...
@@ -46,7 +46,7 @@ const install = function(Vue, opts = {}) {
/* istanbul ignore if */
/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue);
install(window.Vue);
}
;
}
module.exports = {
module.exports = {
version: '{{version}}',
version: '{{version}}',
...
...
packages/theme-chalk/src/common/var.scss
View file @
b4590d6b
...
@@ -471,7 +471,7 @@ $--dialog-close-hover-color: $--color-primary !default;
...
@@ -471,7 +471,7 @@ $--dialog-close-hover-color: $--color-primary !default;
$--dialog-title-font-size
:
$--font-size-large
!
default
;
$--dialog-title-font-size
:
$--font-size-large
!
default
;
$--dialog-font-size
:
14px
!
default
;
$--dialog-font-size
:
14px
!
default
;
$--dialog-line-height
:
$--font-line-height-primary
!
default
;
$--dialog-line-height
:
$--font-line-height-primary
!
default
;
$--dialog-padding-primary
:
15
px
!
default
;
$--dialog-padding-primary
:
20
px
!
default
;
/* Table
/* Table
-------------------------- */
-------------------------- */
...
...
packages/theme-chalk/src/dialog.scss
View file @
b4590d6b
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
@import
"common/var"
;
@import
"common/var"
;
@import
"common/popup"
;
@import
"common/popup"
;
@include
b
(
dialog
)
{
@include
b
(
dialog
)
{
position
:
relative
;
position
:
relative
;
margin
:
0
auto
50px
;
margin
:
0
auto
50px
;
...
@@ -82,18 +81,13 @@
...
@@ -82,18 +81,13 @@
@include
m
(
center
)
{
@include
m
(
center
)
{
text-align
:
center
;
text-align
:
center
;
@include
e
(
header
)
{
padding-top
:
30px
;
}
@include
e
(
body
)
{
@include
e
(
body
)
{
text-align
:
initial
;
text-align
:
initial
;
padding
:
25px
(
$--dialog-padding-primary
+
12
px
)
30px
;
padding
:
25px
(
$--dialog-padding-primary
+
5
px
)
30px
;
}
}
@include
e
(
footer
)
{
@include
e
(
footer
)
{
text-align
:
inherit
;
text-align
:
inherit
;
padding-bottom
:
30px
;
}
}
}
}
}
}
...
...
src/index.js
View file @
b4590d6b
...
@@ -168,7 +168,7 @@ const install = function(Vue, opts = {}) {
...
@@ -168,7 +168,7 @@ const install = function(Vue, opts = {}) {
/* istanbul ignore if */
/* istanbul ignore if */
if
(
typeof
window
!==
'
undefined
'
&&
window
.
Vue
)
{
if
(
typeof
window
!==
'
undefined
'
&&
window
.
Vue
)
{
install
(
window
.
Vue
);
install
(
window
.
Vue
);
}
;
}
module
.
exports
=
{
module
.
exports
=
{
version
:
'
2.0.11
'
,
version
:
'
2.0.11
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment