Skip to content

Commit

Permalink
a4-polls: adapt ui after latest module changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hom3mad3 committed Dec 11, 2024
1 parent 9f5f6df commit 911dc97
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
4 changes: 4 additions & 0 deletions adhocracy-plus/assets/scss/components/_a4-char_counter.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.a4-char-counter {
color: $text-color-gray;
font-size: $font-size-sm;
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$checkbox-size: 20px;

// User question view
.pollquestionlist-container {
.pollquestionlist-container,
.poll__preliminary-results {
padding-top: $spacer;
border-bottom: 1px solid $gray-lightest;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.a4-textarea-with-counter {
padding: $spacer 0;
margin-bottom: $spacer / 2;

&__textarea {
resize: vertical;
width: 100%!important;
overflow-y: auto;
line-height: 1.5;
max-height: 500px;
}
}
5 changes: 3 additions & 2 deletions adhocracy-plus/assets/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,12 @@

@import "icons/style";

@import "components/a4-char_counter";
@import "components/a4-comments";
@import "components/a4-editpoll";
@import "components/a4-poll";
@import "components/a4-termsofuse";
@import "components/a4-textarea_with_counter";
@import "components/action";
@import "components/accordion";
@import "components/account";
Expand Down Expand Up @@ -109,7 +112,6 @@
@import "components/navi";
@import "components/organisation";
@import "components/pagination";
@import "components/poll";
@import "components/popper";
@import "components/progress";
@import "components/project_header";
Expand All @@ -127,7 +129,6 @@
@import "components/tile";
@import "components/timeline-carousel";
@import "components/upload";

@import "components/user_profile";
@import "components/userdashboard";
@import "components/userindicator";
Expand Down

0 comments on commit 911dc97

Please sign in to comment.