Skip to content

Commit

Permalink
improved ui components and styling of wysiwyg component
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Aug 2, 2024
1 parent 255c35e commit 66b577f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addon/components/content-panel.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</span>
{{/if}}
{{#each @actionButtons as |button|}}
<Button @type={{button.type}} @text={{button.text}} @icon={{button.icon}} @size={{button.size}} @iconPrefix={{button.iconPrefix}} @onClick={{button.onClick}} />
<Button @type={{button.type}} @text={{button.text}} @icon={{button.icon}} @size={{button.size}} @iconPrefix={{button.iconPrefix}} @onClick={{button.onClick}} @wrapperClass={{button.wrapperClass}} class={{button.class}} />
{{/each}}
{{#if @dropdownButton}}
<DropdownButton
Expand Down
2 changes: 1 addition & 1 deletion addon/components/toggle.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
{{/if}}
{{#if @helpText}}
<div class={{if @label "ml-2"}}>
<FaIcon @icon={{or @icon "info-circle"}} class="text-gray-300 dark:text-gray-100 {{@iconClass}}" />
<FaIcon @icon={{or @icon "info-circle"}} @size="xs" class="text-gray-300 dark:text-gray-100 text-xs {{@iconClass}}" />
<Attach::Tooltip @class="clean" @animation="scale" @placement={{or @tooltipPlacement "right"}}>
<InputInfo @text={{@helpText}} @exampleText={{@exampleText}} />
</Attach::Tooltip>
Expand Down
4 changes: 4 additions & 0 deletions addon/styles/components/tip-tap-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ body[data-theme='dark'] .tip-tap-editor > .tip-tap-editor-controls {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left: 0px;
height: 22.8px;
}

.tip-tap-editor > .tip-tap-editor-controls .tip-tap-colorpicker > input[type='color' i]::-webkit-color-swatch-wrapper {
Expand Down Expand Up @@ -257,12 +258,14 @@ body[data-theme='dark'] .tip-tap-editor > .tip-tap-editor-controls > .tip-tap-ed
.tip-tap-editor > .tip-tap-editor-controls > .btn-wrapper > a.tip-tap-control-button,
.tip-tap-editor > .tip-tap-editor-controls > .btn-wrapper > button.tip-tap-control-button {
box-shadow: none;
height: 22.8px;
}

.tip-tap-editor > .tip-tap-editor-controls a.tip-tap-control-button,
.tip-tap-editor > .tip-tap-editor-controls button.tip-tap-control-button {
padding: 0.15rem 0.4rem;
box-shadow: none;
height: 22.8px;
}

.tip-tap-editor > .tip-tap-editor-controls a.tip-tap-control-button .btn-icon-wrapper > svg,
Expand All @@ -280,6 +283,7 @@ body[data-theme='dark'] .tip-tap-editor > .tip-tap-editor-controls > .tip-tap-ed
box-shadow: none;
padding: 0 0.4rem;
font-size: 0.75rem;
height: 22.8px;
}

.tip-tap-editor > .tip-tap-editor-controls > .ember-basic-dropdown .next-dd-menu {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/ember-ui",
"version": "0.2.20",
"version": "0.2.21",
"description": "Fleetbase UI provides all the interface components, helpers, services and utilities for building a Fleetbase extension into the Console.",
"keywords": [
"fleetbase-ui",
Expand Down

0 comments on commit 66b577f

Please sign in to comment.