🐛 Fix hide html options on handoff

This commit is contained in:
Alejandro Alonso 2022-08-19 12:07:11 +02:00 committed by Andrés Moya
parent 36af303850
commit eb797f37a7
3 changed files with 5 additions and 25 deletions

View file

@ -35,6 +35,7 @@
### :bug: Bugs fixed ### :bug: Bugs fixed
- Fix hide html options on handoff [Taiga 3533](https://tree.taiga.io/project/penpot/issue/3533)
- Fix share prototypes overlay and stroke [Taiga #3994](https://tree.taiga.io/project/penpot/issue/3994) - Fix share prototypes overlay and stroke [Taiga #3994](https://tree.taiga.io/project/penpot/issue/3994)
- Fix border radious on boolean operations [Taiga #3959](https://tree.taiga.io/project/penpot/issue/3959) - Fix border radious on boolean operations [Taiga #3959](https://tree.taiga.io/project/penpot/issue/3959)
- Fix inconsistent representation of rectangles [Taiga #3977](https://tree.taiga.io/project/penpot/issue/3977) - Fix inconsistent representation of rectangles [Taiga #3977](https://tree.taiga.io/project/penpot/issue/3977)

View file

@ -330,26 +330,13 @@
} }
.code-row-lang { .code-row-lang {
color: $color-gray-10;
position: relative; position: relative;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
font-size: $fs14;
margin: 0.5rem; margin: 0.5rem;
.code-selection {
height: 100%;
margin: 0;
padding: 0.5rem;
width: 4.5rem;
font-size: $fs12;
background: $color-gray-50;
color: $color-gray-10;
border-radius: 2px;
border: 1px solid $color-gray-30;
background-image: url("/images/icons/arrow-down-white.svg");
background-repeat: no-repeat;
background-position: 90% 48%;
background-size: 8px;
}
.expand-button, .expand-button,
.copy-button { .copy-button {
margin-top: 8px; margin-top: 8px;

View file

@ -72,12 +72,7 @@
[:div.element-options [:div.element-options
[:div.code-block [:div.code-block
[:div.code-row-lang [:div.code-row-lang "CSS"
[:select.code-selection
[:option {:value "css"} "CSS"]
#_[:option {:value "sass"} "SASS"]
#_[:option {:value "less"} "Less"]
#_[:option {:value "stylus"} "Stylus"]]
[:button.expand-button [:button.expand-button
{:on-click on-expand } {:on-click on-expand }
@ -91,10 +86,7 @@
:code style-code}]]] :code style-code}]]]
[:div.code-block [:div.code-block
[:div.code-row-lang [:div.code-row-lang "SVG"
[:select.code-selection
[:option "SVG"]
[:option "HTML"]]
[:button.expand-button [:button.expand-button
{:on-click on-expand} {:on-click on-expand}