Skip to content

Commit

Permalink
change :2, :3, :4, etc to :
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax committed Dec 28, 2024
1 parent a40f864 commit 338f42f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/generator_layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ void generator_code_head_meta_children(generator_t *generator,
generator->css,
attribute->final_key); // TODO: Why name lowercase
// entry->key?
string_append_char(generator->css, '='); // TODO: COLON
string_append_char(generator->css, ':'); // TODO: COLON

if (attribute->final_value == NULL) {
attribute->final_value =
Expand Down Expand Up @@ -796,7 +796,7 @@ string_t *generator_code_layout_attributes(generator_t *generator,
string_append_char(css_attributes, ';');
}
string_append_str(css_attributes, attribute->final_key);
string_append_str(css_attributes, ":2");
string_append_str(css_attributes, ":");
string_append_str(css_attributes, attribute->final_value);

css_attributes_length++;
Expand Down Expand Up @@ -998,7 +998,7 @@ string_t *generator_code_layout_attributes(generator_t *generator,

string_append_str(generator->media_css,
attribute->final_key);
string_append_str(generator->media_css, ":3");
string_append_str(generator->media_css, ":");

if (attribute->final_value == NULL) {
attribute->final_value =
Expand Down Expand Up @@ -1034,7 +1034,7 @@ string_t *generator_code_layout_attributes(generator_t *generator,

string_append_str(generator->media_css,
attribute->final_key);
string_append_str(generator->media_css, ":1");
string_append_str(generator->media_css, ":");
string_append_str(generator->media_css,
attribute->final_value);

Expand Down
2 changes: 1 addition & 1 deletion src/generator_layout_style.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ string_t *generator_code_layout_styles(hashmap_layout_attribute_t *styles,
}

string_append_str(code, attribute->final_key);
string_append_str(code, ":4");
string_append_str(code, ":");
string_append_str(code, attribute->final_value);

if (css_attributes_length != NULL) {
Expand Down

0 comments on commit 338f42f

Please sign in to comment.