Skip to content

Commit 11970a1

Browse files
authored
feat: Py-Shiny SCSS changes (#1285)
Minor change to facilitate icon and label alignment for the py-shiny side. Co-authored-by: elnelson575 <elnelson575@users.noreply.github.com>
1 parent cb3e8d2 commit 11970a1

File tree

9 files changed

+19
-11
lines changed

9 files changed

+19
-11
lines changed

R/sysdata.rda

825 Bytes
Binary file not shown.

inst/components/dist/code-editor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/code-editor.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/components.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/components.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/components.min.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/web-components.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/dist/web-components.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

inst/components/scss/toolbar.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@
5454
}
5555
}
5656

57+
.bslib-toolbar-icon.action-icon {
58+
svg, img {
59+
margin: 0 !important;
60+
}
61+
}
62+
5763
// Remove the left padding on label-only buttons so the text is centered
5864
.bslib-toolbar-input-button[data-type="label"] {
5965
.action-label {
@@ -197,6 +203,8 @@ label > .bslib-toolbar {
197203
label.control-label {
198204
font-weight: 600;
199205
margin-bottom: 0;
206+
display: inline-flex;
207+
align-items: center;
200208
}
201209

202210
.bslib-toolbar-label {

0 commit comments

Comments
 (0)