@redocly/theme 0.33.1 → 0.33.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,7 +47,7 @@ function CodeBlockControls({ children, className, title, controls, tabs, }) {
47
47
  exports.CodeBlockControls = CodeBlockControls;
48
48
  const ContainerWraper = styled_components_1.default.div `
49
49
  display: flex;
50
- justify-content: space-between;
50
+ justify-content: right;
51
51
  min-height: 30px;
52
52
  padding: var(--code-block-controls-padding);
53
53
  background-color: var(--code-block-controls-background-color);
@@ -61,6 +61,7 @@ const Title = styled_components_1.default.span `
61
61
  display: flex;
62
62
  align-items: center;
63
63
  color: var(--code-block-controls-text-color);
64
+ width: 100%;
64
65
  `;
65
66
  const ControlsWrapper = styled_components_1.default.div `
66
67
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/theme",
3
- "version": "0.33.1",
3
+ "version": "0.33.2",
4
4
  "description": "Shared UI components lib",
5
5
  "keywords": [
6
6
  "theme",
@@ -193,7 +193,7 @@ export function CodeBlockControls({
193
193
 
194
194
  const ContainerWraper = styled.div`
195
195
  display: flex;
196
- justify-content: space-between;
196
+ justify-content: right;
197
197
  min-height: 30px;
198
198
  padding: var(--code-block-controls-padding);
199
199
  background-color: var(--code-block-controls-background-color);
@@ -208,6 +208,7 @@ const Title = styled.span`
208
208
  display: flex;
209
209
  align-items: center;
210
210
  color: var(--code-block-controls-text-color);
211
+ width: 100%;
211
212
  `;
212
213
 
213
214
  const ControlsWrapper = styled.div`